radv: advertise VK_AMD_shader_image_load_store_lod
This extension allows to use LOD with image read/write operations. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
@@ -4,6 +4,7 @@ GL_ARB_spirv_extensions on radeonsi.
|
||||
GL_EXT_direct_state_access for compatibility profile.
|
||||
VK_AMD_device_coherent_memory on RADV.
|
||||
VK_AMD_mixed_attachment_samples on RADV.
|
||||
VK_AMD_shader_image_load_store_lod on RADV.
|
||||
VK_EXT_subgroup_size_control on RADV.
|
||||
VK_KHR_separate_depth_stencil_layouts on Intel, RADV.
|
||||
VK_KHR_shader_subgroup_extended_types on RADV.
|
||||
|
@@ -157,6 +157,7 @@ EXTENSIONS = [
|
||||
Extension('VK_AMD_shader_ballot', 1, 'device->use_shader_ballot'),
|
||||
Extension('VK_AMD_shader_core_properties', 1, True),
|
||||
Extension('VK_AMD_shader_core_properties2', 1, True),
|
||||
Extension('VK_AMD_shader_image_load_store_lod', 1, True),
|
||||
Extension('VK_AMD_shader_info', 1, True),
|
||||
Extension('VK_AMD_shader_trinary_minmax', 1, True),
|
||||
Extension('VK_GOOGLE_decorate_string', 1, True),
|
||||
|
@@ -362,6 +362,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
|
||||
.lower_ubo_ssbo_access_to_offsets = true,
|
||||
.caps = {
|
||||
.amd_gcn_shader = true,
|
||||
.amd_image_read_write_lod = true,
|
||||
.amd_shader_ballot = device->physical_device->use_shader_ballot,
|
||||
.amd_trinary_minmax = true,
|
||||
.demote_to_helper_invocation = device->physical_device->use_aco,
|
||||
|
Reference in New Issue
Block a user