diff options
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index f1fa6eedfae..f1bbfd511ff 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -533,6 +533,7 @@ struct_member_decoration_cb(struct vtn_builder *b, case SpvDecorationIndex: case SpvDecorationBinding: case SpvDecorationDescriptorSet: + case SpvDecorationLinkageAttributes: case SpvDecorationNoContraction: case SpvDecorationInputAttachmentIndex: vtn_warn("Decoration not allowed on struct members: %s", @@ -553,9 +554,6 @@ struct_member_decoration_cb(struct vtn_builder *b, vtn_warn("Decoraiton only allowed for CL-style kernels: %s", spirv_decoration_to_string(dec->decoration)); break; - - default: - unreachable("Unhandled member decoration"); } } |