X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fprogram.cpp;h=a82ac1d227279be4edd1175428af8e6c0dfe6ffd;hp=f8c35ec573ed9b1437ecb63879cca00b00b9d7ff;hb=0d94309bc07629feea62bd03837b6e21ccc15b6f;hpb=274b6fb1b02692cc422bad9040d1abe5d545505a 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)