From: Jason Ekstrand Date: Sat, 5 Sep 2015 16:47:11 +0000 (-0700) Subject: nir/spirv: Handle the MatrixStride member decoration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9be43ef99cba08aab37b97be09b1f40f23288dcb;p=mesa.git nir/spirv: Handle the MatrixStride member decoration --- diff --git a/src/glsl/nir/spirv_to_nir.c b/src/glsl/nir/spirv_to_nir.c index 9495fba0652..8c2b31cf3ec 100644 --- a/src/glsl/nir/spirv_to_nir.c +++ b/src/glsl/nir/spirv_to_nir.c @@ -365,6 +365,9 @@ struct_member_decoration_cb(struct vtn_builder *b, case SpvDecorationOffset: ctx->type->offsets[member] = dec->literals[0]; break; + case SpvDecorationMatrixStride: + ctx->type->members[member]->stride = dec->literals[0]; + break; case SpvDecorationColMajor: break; /* Nothing to do here. Column-major is the default. */ default: