summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/spirv_to_nir.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-05-19 20:58:32 -0700
committerJason Ekstrand <[email protected]>2016-05-19 21:18:59 -0700
commiteb384daae896970e8164cdc60015b8c48c12f851 (patch)
tree64db093e8314e9ff20844c22222e4075f78c30c7 /src/compiler/spirv/spirv_to_nir.c
parentea8c11fdc25787044ed9e591bfeb085df8626be5 (diff)
nir/spirv: Handle the NonReadable decoration on struct members
Diffstat (limited to 'src/compiler/spirv/spirv_to_nir.c')
-rw-r--r--src/compiler/spirv/spirv_to_nir.c1
1 files changed, 1 insertions, 0 deletions
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: