radv: enable VK_EXT_sampler_filter_minmax on GFX6
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 13 Feb 2020 08:22:04 +0000 (09:22 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 17 Feb 2020 07:33:40 +0000 (08:33 +0100)
Works fine.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3808>

src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_extensions.py

index 183f96c16988ef0ad87ac000e82577b6d9177266..348104a186cc513afcb2a02877ce5e1c9756f225 100644 (file)
@@ -1238,7 +1238,7 @@ void radv_GetPhysicalDeviceFeatures2(
                        features->descriptorBindingPartiallyBound = true;
                        features->descriptorBindingVariableDescriptorCount = true;
                        features->runtimeDescriptorArray = true;
-                       features->samplerFilterMinmax = pdevice->rad_info.chip_class >= GFX7;
+                       features->samplerFilterMinmax = true;
                        features->scalarBlockLayout = pdevice->rad_info.chip_class >= GFX7;
                        features->imagelessFramebuffer = true;
                        features->uniformBufferStandardLayout = true;
index 32e14a640e2f9bfcdf50ab514a106440faa37643..1cb0a75ad07fa245e05d46d3c384c1b14f9e9461 100644 (file)
@@ -138,7 +138,7 @@ EXTENSIONS = [
     Extension('VK_EXT_queue_family_foreign',              1, True),
     # Disable sample locations on GFX10 until the CTS failures have been resolved.
     Extension('VK_EXT_sample_locations',                  1, 'device->rad_info.chip_class < GFX10'),
-    Extension('VK_EXT_sampler_filter_minmax',             1, 'device->rad_info.chip_class >= GFX7'),
+    Extension('VK_EXT_sampler_filter_minmax',             1, True),
     Extension('VK_EXT_scalar_block_layout',               1, 'device->rad_info.chip_class >= GFX7'),
     Extension('VK_EXT_shader_demote_to_helper_invocation',1, 'device->use_aco'),
     Extension('VK_EXT_shader_viewport_index_layer',       1, True),