From: Jason Ekstrand Date: Fri, 20 May 2016 03:58:32 +0000 (-0700) Subject: nir/spirv: Handle the NonReadable decoration on struct members X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb384daae896970e8164cdc60015b8c48c12f851;p=mesa.git nir/spirv: Handle the NonReadable decoration on struct members --- diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index c92dfca3e38..e60bb54106d 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -455,6 +455,7 @@ struct_member_decoration_cb(struct vtn_builder *b, switch (dec->decoration) { case SpvDecorationNonWritable: + case SpvDecorationNonReadable: case SpvDecorationRelaxedPrecision: break; /* FIXME: Do nothing with this for now. */ case SpvDecorationNoPerspective: