Fix incorrect return value for ParsedIR::get_member_decoration(SpvDecorationMatrixStride)

This commit is contained in:
Andrei Alexeyev 2024-07-23 16:45:50 +02:00
parent 68d401117c
commit b7dbf7a379
No known key found for this signature in database
GPG Key ID: 72D26128040B9690

View File

@ -783,6 +783,8 @@ uint32_t ParsedIR::get_member_decoration(TypeID id, uint32_t index, Decoration d
return dec.stream;
case DecorationSpecId:
return dec.spec_id;
case DecorationMatrixStride:
return dec.matrix_stride;
case DecorationIndex:
return dec.index;
default: