From: Mikko Rasa Date: Fri, 2 Apr 2021 09:54:29 +0000 (+0300) Subject: Store name in attributes collected from SPIR-V module X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=ddb8e4ceea602d90ca7d9dc2637b9285610787bd Store name in attributes collected from SPIR-V module --- diff --git a/source/core/program.cpp b/source/core/program.cpp index 6fdf747d..4b53b8fe 100644 --- a/source/core/program.cpp +++ b/source/core/program.cpp @@ -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;