From: Samuel Pitoiset Date: Tue, 19 May 2020 12:49:10 +0000 (+0200) Subject: radv: advertise VK_AMD_texture_gather_bias_lod X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b3c0f82841a29e191d07028391bfe687ae01b7df;p=mesa.git radv: advertise VK_AMD_texture_gather_bias_lod Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 19895c50a52..91b0a8d1b66 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -1,4 +1,5 @@ GL_ARB_compute_variable_group_size on Iris. +VK_AMD_texture_gather_bias_lod on RADV. VK_EXT_private_data on ANV and RADV. VK_EXT_custom_border_color on RADV. VK_EXT_pipeline_creation_cache_control on RADV. diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py index a5113eb08c9..91c733f02ce 100644 --- a/src/amd/vulkan/radv_extensions.py +++ b/src/amd/vulkan/radv_extensions.py @@ -179,6 +179,7 @@ EXTENSIONS = [ Extension('VK_AMD_shader_fragment_mask', 1, True), Extension('VK_AMD_shader_info', 1, True), Extension('VK_AMD_shader_trinary_minmax', 1, True), + Extension('VK_AMD_texture_gather_bias_lod', 1, True), Extension('VK_GOOGLE_decorate_string', 1, True), Extension('VK_GOOGLE_hlsl_functionality1', 1, True), Extension('VK_NV_compute_shader_derivatives', 1, True), diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 7dfa89d65e9..fb5dc1b0376 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -357,6 +357,7 @@ radv_shader_compile_to_nir(struct radv_device *device, .caps = { .amd_fragment_mask = true, .amd_gcn_shader = true, + .amd_image_gather_bias_lod = true, .amd_image_read_write_lod = true, .amd_shader_ballot = device->physical_device->use_shader_ballot, .amd_shader_explicit_vertex_parameter = true,