]> git.tdb.fi Git - libs/gl.git/commitdiff
Record texture bindings from SPIR-V modules
authorMikko Rasa <tdb@tdb.fi>
Sat, 24 Apr 2021 14:57:19 +0000 (17:57 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 24 Apr 2021 14:57:19 +0000 (17:57 +0300)
source/core/program.cpp

index 22626c6543674118737df4e1272785f1db6f9a12..9b5400a38122073af034eb05a17cdef434ad5820 100644 (file)
@@ -537,6 +537,7 @@ void Program::collect_uniforms()
                        info.name = i->name;
                        info.tag = i->name;
                        info.location = i->location;
                        info.name = i->name;
                        info.tag = i->name;
                        info.location = i->location;
+                       info.binding = i->binding;
                        info.array_size = i->array_size;
                        info.type = i->type;
                }
                        info.array_size = i->array_size;
                        info.type = i->type;
                }