]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/program.cpp
Store name in attributes collected from SPIR-V module
[libs/gl.git] / source / core / program.cpp
index 6fdf747d99d477078ab2421cd325989a455aca82..4b53b8fe2f28e7e812e605654d6d7d64ec695aeb 100644 (file)
@@ -534,6 +534,7 @@ void Program::collect_attributes()
                                if((*j)->storage==SpirVModule::INPUT)
                                {
                                        AttributeInfo &info = attributes[(*j)->name];
+                                       info.name = (*j)->name;
                                        info.location = (*j)->location;
                                        info.array_size = (*j)->array_size;
                                        info.type = (*j)->type;