diff options
author | Jason Ekstrand <[email protected]> | 2016-05-19 20:58:32 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-05-19 21:18:59 -0700 |
commit | eb384daae896970e8164cdc60015b8c48c12f851 (patch) | |
tree | 64db093e8314e9ff20844c22222e4075f78c30c7 /src/compiler/spirv | |
parent | ea8c11fdc25787044ed9e591bfeb085df8626be5 (diff) |
nir/spirv: Handle the NonReadable decoration on struct members
Diffstat (limited to 'src/compiler/spirv')
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 1 |
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: |