diff options
author | Lionel Landwerlin <[email protected]> | 2017-01-25 14:03:31 +0000 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-01-25 17:22:23 +0000 |
commit | 05e2d99bf2fd08b8a2afaa2a0413993a3bf97ff7 (patch) | |
tree | e6f6d8f4d3e8b199cc77ef0c759316b0a8ee0d5c /src/compiler/spirv/vtn_variables.c | |
parent | 4fd54d611f2853e7d3c83fb25734fc9423b5e079 (diff) |
spirv: add default handler for new enums
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_variables.c')
-rw-r--r-- | src/compiler/spirv/vtn_variables.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/spirv/vtn_variables.c b/src/compiler/spirv/vtn_variables.c index 4d1ec789cc3..05ac91eeddb 100644 --- a/src/compiler/spirv/vtn_variables.c +++ b/src/compiler/spirv/vtn_variables.c @@ -1139,6 +1139,9 @@ apply_var_decoration(struct vtn_builder *b, nir_variable *nir_var, vtn_warn("Decoration only allowed for CL-style kernels: %s", spirv_decoration_to_string(dec->decoration)); break; + + default: + unreachable("Unhandled decoration"); } } |