X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fprogram.cpp;h=a82ac1d227279be4edd1175428af8e6c0dfe6ffd;hb=0d94309bc07629feea62bd03837b6e21ccc15b6f;hp=f8c35ec573ed9b1437ecb63879cca00b00b9d7ff;hpb=c737d292d49d2d39b44e1cd903c1f8b79174f0d7;p=libs%2Fgl.git diff --git a/source/core/program.cpp b/source/core/program.cpp index f8c35ec5..a82ac1d2 100644 --- a/source/core/program.cpp +++ b/source/core/program.cpp @@ -193,6 +193,8 @@ void Program::collect_attributes(const SpirVModule &mod) info.type = v->type; } } + + sort_member(reflect_data.attributes, &ReflectData::AttributeInfo::name); } void Program::collect_builtins(const SpirVModule &mod)