commit | 13b9343fac6ddbf1a32a0b8089f462f0828f7061 | [log] [tgz] |
---|---|---|
author | José Fonseca <jfonseca@vmware.com> | Tue Nov 18 20:21:23 2014 +0000 |
committer | José Fonseca <jfonseca@vmware.com> | Tue Nov 18 20:21:23 2014 +0000 |
tree | 5d75cfc37f53626d8e6a9952c9590929882b08c2 | |
parent | e65d4d903ad51ce598420c9ed5fd21e8e5afdf40 [diff] [blame] |
glretrace: Swizzle GL_ARB_shader_subroutine subroutine indices.
diff --git a/specs/stdapi.py b/specs/stdapi.py index c2a154d..baab081 100644 --- a/specs/stdapi.py +++ b/specs/stdapi.py
@@ -75,6 +75,13 @@ visitor = MutableRebuilder() return visitor.visit(self) + def depends(self, other): + '''Whether this type depends on another.''' + + collector = Collector() + collector.visit(self) + return other in collector.types + class _Void(Type): """Singleton void type."""