Merge pull request #2357 from taisei-project/fix-matrix-stride

Fix incorrect return value for ParsedIR::get_member_decoration(SpvDecorationMatrixStride)
This commit is contained in:
Hans-Kristian Arntzen 2024-07-30 09:49:39 +02:00 committed by GitHub
commit 66363ac7e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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