From caf2794f6fb0816f0e4df00ab1644a9d5cf8fe2d Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Wed, 4 May 2022 01:08:58 +0200 Subject: [PATCH] vtn: silence warning about linkage For OpenCL kernels we simply link together SPIR-V files, so the only case where we are left with linking shaders together is libclc and we handle that just fine. Signed-off-by: Karol Herbst Reviewed-by: Jesse Natalie Reviewed-by: Jason Ekstrand Part-of: --- src/compiler/spirv/spirv_to_nir.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 6e0b54dd246..a2794da84fc 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -4504,7 +4504,6 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, vtn_warn("Unsupported SPIR-V capability: %s", spirv_capability_to_string(cap)); spv_check_supported(linkage, cap); - vtn_warn("The SPIR-V Linkage capability is not fully supported"); break; case SpvCapabilitySparseResidency: