From b91cd5dba4c356e88753e4786e7fe8792e2cba20 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Sch=C3=BCrmann?= Date: Thu, 8 Mar 2018 23:13:43 +0100 Subject: [PATCH] radv: enable VK_AMD_shader_trinary_minmax extension Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Samuel Pitoiset --- src/amd/vulkan/radv_extensions.py | 1 + src/amd/vulkan/radv_shader.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py index a16988d48c5..cbb02f138a1 100644 --- a/src/amd/vulkan/radv_extensions.py +++ b/src/amd/vulkan/radv_extensions.py @@ -96,6 +96,7 @@ EXTENSIONS = [ 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'), Extension('VK_AMD_shader_info', 1, True), + Extension('VK_AMD_shader_trinary_minmax', 1, True), ] class VkVersion: diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index c6935805c79..f150a20e3b3 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -216,6 +216,7 @@ radv_shader_compile_to_nir(struct radv_device *device, .subgroup_basic = true, .variable_pointers = true, .gcn_shader = true, + .trinary_minmax = true, }, }; entry_point = spirv_to_nir(spirv, module->size / 4, -- 2.30.2