X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Freflect.cpp;h=643c42e79be90f51f07009df7343ce67df80f09e;hb=1a5dafe20e47c764f2914c341fb7b8f1fba59fb8;hp=21f12d0eb1c57b25491832651d9812aac0beb55b;hpb=7d145421b050647a4599ac779e634ce2fa60d3ec;p=libs%2Fgl.git diff --git a/source/glsl/reflect.cpp b/source/glsl/reflect.cpp index 21f12d0e..643c42e7 100644 --- a/source/glsl/reflect.cpp +++ b/source/glsl/reflect.cpp @@ -348,15 +348,6 @@ void DependencyCollector::visit(VariableReference &var) } } -void DependencyCollector::visit(InterfaceBlockReference &iface) -{ - if(iface.declaration) - { - dependencies.insert(iface.declaration); - iface.declaration->visit(*this); - } -} - void DependencyCollector::visit(FunctionCall &call) { if(call.declaration) @@ -402,12 +393,6 @@ void AssignmentCollector::visit(VariableReference &var) assigned_variables.insert(var.declaration); } -void AssignmentCollector::visit(InterfaceBlockReference &iface) -{ - if(assignment_target) - assigned_variables.insert(iface.declaration); -} - void AssignmentCollector::visit(UnaryExpression &unary) { SetFlag set_assignment(assignment_target, (unary.oper->token[1]=='+' || unary.oper->token[1]=='-'));