radv: enable VK_EXT_sampler_filter_minmax
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 16 Mar 2018 17:53:51 +0000 (18:53 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 28 Mar 2018 20:55:48 +0000 (22:55 +0200)
Only enable for CIK+ because it's buggy on SI.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_extensions.py

index 896cc624592b78e04765be9175ace38beaf93225..a16988d48c5d71049819506318fa99b87e02b08f 100644 (file)
@@ -91,6 +91,7 @@ EXTENSIONS = [
     Extension('VK_EXT_external_memory_dma_buf',           1, True),
     Extension('VK_EXT_external_memory_host',              1, 'device->rad_info.has_userptr'),
     Extension('VK_EXT_global_priority',                   1, 'device->rad_info.has_ctx_priority'),
+    Extension('VK_EXT_sampler_filter_minmax',             1, 'device->rad_info.chip_class >= CIK'),
     Extension('VK_AMD_draw_indirect_count',               1, True),
     Extension('VK_AMD_gcn_shader',                        1, True),
     Extension('VK_AMD_rasterization_order',               1, 'device->rad_info.chip_class >= VI && device->rad_info.max_se >= 2'),