mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 20:50:09 +01:00
spirv: always expose SpvCapabilityStorageImageExtendedFormats
I forgot to do this in commit 76b97d544e ("anv: enable storage image
extended formats"). Since both drivers support this now, no need for the
conditional enable.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
c633f228b4
commit
36c648b894
3 changed files with 1 additions and 5 deletions
|
|
@ -192,7 +192,6 @@ radv_shader_compile_to_nir(struct radv_device *device,
|
|||
}
|
||||
}
|
||||
const struct nir_spirv_supported_extensions supported_ext = {
|
||||
.storage_image_extended_formats = true,
|
||||
};
|
||||
entry_point = spirv_to_nir(spirv, module->size / 4,
|
||||
spec_entries, num_spec_entries,
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ struct nir_spirv_specialization {
|
|||
};
|
||||
|
||||
struct nir_spirv_supported_extensions {
|
||||
bool storage_image_extended_formats;
|
||||
bool image_ms_array;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2506,6 +2506,7 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
|||
case SpvCapabilityCullDistance:
|
||||
case SpvCapabilityInputAttachment:
|
||||
case SpvCapabilityImageGatherExtended:
|
||||
case SpvCapabilityStorageImageExtendedFormats:
|
||||
break;
|
||||
|
||||
case SpvCapabilityGeometryStreams:
|
||||
|
|
@ -2546,9 +2547,6 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
|||
spirv_capability_to_string(cap));
|
||||
break;
|
||||
|
||||
case SpvCapabilityStorageImageExtendedFormats:
|
||||
spv_check_supported(storage_image_extended_formats, cap);
|
||||
break;
|
||||
case SpvCapabilityImageMSArray:
|
||||
spv_check_supported(image_ms_array, cap);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue