radv/aco: enable VK_KHR_shader_subgroup_extended_types on GFX6-GFX7
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 4 Jun 2020 08:41:50 +0000 (10:41 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 5 Jun 2020 14:04:08 +0000 (16:04 +0200)
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 <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5327>

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

index 36fee0672f106dd1180ee8dbe5e26c36d31aedcb..9c5c6f90ed52ae21b9fcee7773b5474ca04be171 100644 (file)
@@ -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;
index fe9c9655625e6d4d07aa2298c0f0839d3cefecb7..7db4aa399075334b617eb8ab4a0d6af7aeccea50 100644 (file)
@@ -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'),