diff options
author | Jason Ekstrand <[email protected]> | 2016-04-20 10:32:59 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-20 10:33:23 -0700 |
commit | 2ef7aef3224cabf70edb409ef0d44b77eedc46ac (patch) | |
tree | f5046c8d4b6967846094a307e62b1522a6e67231 /src/compiler/spirv/spirv_to_nir.c | |
parent | b6dc940ec273252678d40707d300851fa1c85ea5 (diff) |
spirv: Trivially handle the NonWriteable decoration
Signed-off-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/spirv/spirv_to_nir.c')
-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 99514b49650..8d4f771364f 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -454,6 +454,7 @@ struct_member_decoration_cb(struct vtn_builder *b, assert(member < ctx->num_fields); switch (dec->decoration) { + case SpvDecorationNonWritable: case SpvDecorationRelaxedPrecision: break; /* FIXME: Do nothing with this for now. */ case SpvDecorationNoPerspective: |