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 <kherbst@redhat.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17334>
This commit is contained in:
Karol Herbst
2022-05-04 01:08:58 +02:00
committed by Marge Bot
parent 6637b1f41e
commit caf2794f6f

View File

@@ -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: