From b7dbf7a379713f85e5b438e70b89f154625bd0a7 Mon Sep 17 00:00:00 2001 From: Andrei Alexeyev Date: Tue, 23 Jul 2024 16:45:50 +0200 Subject: [PATCH] Fix incorrect return value for ParsedIR::get_member_decoration(SpvDecorationMatrixStride) --- spirv_cross_parsed_ir.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spirv_cross_parsed_ir.cpp b/spirv_cross_parsed_ir.cpp index c6ddb6a4..3072cd8a 100644 --- a/spirv_cross_parsed_ir.cpp +++ b/spirv_cross_parsed_ir.cpp @@ -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: