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:
commit
66363ac7e8
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user