vtn: support SpvCapabilitySparseResidency
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7774>
This commit is contained in:
@@ -76,6 +76,7 @@ struct spirv_supported_capabilities {
|
||||
bool float_controls;
|
||||
bool shader_clock;
|
||||
bool shader_viewport_index_layer;
|
||||
bool sparse_residency;
|
||||
bool stencil_export;
|
||||
bool storage_8bit;
|
||||
bool storage_16bit;
|
||||
|
@@ -4256,11 +4256,14 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
||||
break;
|
||||
|
||||
case SpvCapabilityLinkage:
|
||||
case SpvCapabilitySparseResidency:
|
||||
vtn_warn("Unsupported SPIR-V capability: %s",
|
||||
spirv_capability_to_string(cap));
|
||||
break;
|
||||
|
||||
case SpvCapabilitySparseResidency:
|
||||
spv_check_supported(sparse_residency, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityMinLod:
|
||||
spv_check_supported(min_lod, cap);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user