From bfff330f061ff8789d7d26f164725af91cfd2c74 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 4 Jun 2020 10:41:50 +0200 Subject: [PATCH] radv/aco: enable VK_KHR_shader_subgroup_extended_types on GFX6-GFX7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit CTS pass on Pitcairn (GFX6). This extension isn't really useful without 8-bit/16-bit storage though but this is going to be exposed soon. Signed-off-by: Samuel Pitoiset Reviewed-by: Daniel Schürmann Part-of: --- src/amd/vulkan/radv_device.c | 2 +- src/amd/vulkan/radv_extensions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 36fee0672f1..9c5c6f90ed5 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1012,7 +1012,7 @@ radv_get_physical_device_features_1_2(struct radv_physical_device *pdevice, f->scalarBlockLayout = pdevice->rad_info.chip_class >= GFX7; f->imagelessFramebuffer = true; f->uniformBufferStandardLayout = true; - f->shaderSubgroupExtendedTypes = !pdevice->use_aco || pdevice->rad_info.chip_class >= GFX8; + f->shaderSubgroupExtendedTypes = true; f->separateDepthStencilLayouts = true; f->hostQueryReset = true; f->timelineSemaphore = pdevice->rad_info.has_syncobj_wait_for_submit; diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py index fe9c9655625..7db4aa39907 100644 --- a/src/amd/vulkan/radv_extensions.py +++ b/src/amd/vulkan/radv_extensions.py @@ -100,7 +100,7 @@ EXTENSIONS = [ Extension('VK_KHR_shader_float_controls', 1, True), Extension('VK_KHR_shader_float16_int8', 1, '!device->use_aco || device->rad_info.chip_class >= GFX8'), Extension('VK_KHR_shader_non_semantic_info', 1, True), - Extension('VK_KHR_shader_subgroup_extended_types', 1, '!device->use_aco || device->rad_info.chip_class >= GFX8'), + Extension('VK_KHR_shader_subgroup_extended_types', 1, True), Extension('VK_KHR_spirv_1_4', 1, True), Extension('VK_KHR_storage_buffer_storage_class', 1, True), Extension('VK_KHR_surface', 25, 'RADV_HAS_SURFACE'), -- 2.30.2