From f15a404bf1a02ca5924c0d40260aab8c9dfd9d44 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 3 Mar 2021 17:14:12 +0200 Subject: [PATCH] Don't copy type declaration of a generated interface variable It's better to let it be resolved again. --- source/glsl/generate.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/glsl/generate.cpp b/source/glsl/generate.cpp index ac3a4b75..4230a402 100644 --- a/source/glsl/generate.cpp +++ b/source/glsl/generate.cpp @@ -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"); -- 2.45.2