vtn: Don't warn about linkage capability if we're creating a NIR library
We've supported this for a while now for libclc Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10181>
This commit is contained in:
@@ -4286,8 +4286,9 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
||||
break;
|
||||
|
||||
case SpvCapabilityLinkage:
|
||||
vtn_warn("Unsupported SPIR-V capability: %s",
|
||||
spirv_capability_to_string(cap));
|
||||
if (!b->options->create_library)
|
||||
vtn_warn("Unsupported SPIR-V capability: %s",
|
||||
spirv_capability_to_string(cap));
|
||||
break;
|
||||
|
||||
case SpvCapabilitySparseResidency:
|
||||
|
Reference in New Issue
Block a user