Fix incorrect return value for ParsedIR::get_member_decoration(SpvDecorationMatrixStride)
This commit is contained in:
parent
68d401117c
commit
b7dbf7a379
@ -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