mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 04:20:18 +01:00
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:
parent
7d1d4acbd5
commit
f7a5b8ed35
2 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue