From ddb8e4ceea602d90ca7d9dc2637b9285610787bd Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 2 Apr 2021 12:54:29 +0300 Subject: [PATCH] Store name in attributes collected from SPIR-V module --- source/core/program.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.45.2