[Mesa-dev] [PATCH 4/4] radv: enable VK_AMD_shader_trinary_minmax extension
Daniel Schürmann
daniel.schuermann at campus.tu-berlin.de
Thu Mar 8 22:14:30 UTC 2018
---
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 469b09a160..12efaa04c6 100644
--- a/src/amd/vulkan/radv_extensions.py
+++ b/src/amd/vulkan/radv_extensions.py
@@ -94,6 +94,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 85672e600d..9073b7d043 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -214,6 +214,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
.multiview = true,
.subgroup_basic = true,
.variable_pointers = true,
+ .AMD_shader_trinary_minmax = true,
},
.exts = {
.AMD_gcn_shader = true,
--
2.14.1
More information about the mesa-dev
mailing list