From eb384daae896970e8164cdc60015b8c48c12f851 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 19 May 2016 20:58:32 -0700 Subject: nir/spirv: Handle the NonReadable decoration on struct members --- src/compiler/spirv/spirv_to_nir.c | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v1.2.3