]> git.tdb.fi Git - libs/gl.git/commitdiff
Don't copy type declaration of a generated interface variable
authorMikko Rasa <tdb@tdb.fi>
Wed, 3 Mar 2021 15:14:12 +0000 (17:14 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 4 Mar 2021 00:26:15 +0000 (02:26 +0200)
It's better to let it be resolved again.

source/glsl/generate.cpp

index ac3a4b75e7f7f9d62aa3925f01be9d6eeb94f8c4..4230a402a0dc413b23e331a5248f3671dc412ff4 100644 (file)
@@ -415,7 +415,6 @@ bool InterfaceGenerator::generate_interface(VariableDeclaration &var, const stri
        iface_var->sampling = var.sampling;
        iface_var->interface = iface;
        iface_var->type = var.type;
-       iface_var->type_declaration = var.type_declaration;
        iface_var->name = name;
        if(stage->type==Stage::GEOMETRY && !copy_block)
                iface_var->array = ((var.array && var.interface!="in") || iface=="in");