diff options
author | Samuel Pitoiset <[email protected]> | 2020-01-03 11:51:14 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2020-01-09 07:58:34 +0100 |
commit | e298e78a012c18ef535c6400543ec278b254a0cd (patch) | |
tree | b0aa09ed8ef792508af0d5b3a479079ef903d4d9 /src/amd/vulkan/radv_shader.c | |
parent | 4d49a7ac737f298b136ab6447e18c6e4654f8ad5 (diff) |
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 <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.c')
-rw-r--r-- | src/amd/vulkan/radv_shader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index dd3494b9e3e..bbf5cd746c4 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -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, |