radv: advertise VK_EXT_image_robustness
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 20 Jul 2020 12:54:58 +0000 (14:54 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 20 Jul 2020 21:18:27 +0000 (21:18 +0000)
All new dEQP-VK.robustness.image_robustness.* pass.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5979>

docs/relnotes/new_features.txt
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_extensions.py

index abf53c142198a0f1648612f0795d116ee532ce01..c94bd4095e1928d28f5fe006f8660629c91c077d 100644 (file)
@@ -7,6 +7,7 @@ VK_AMD_texture_gather_bias_lod on RADV.
 VK_AMD_gpu_shader_half_float on RADV/ACO.
 VK_AMD_gpu_shader_int16 on RADV/ACO.
 VK_EXT_extended_dynamic_state on RADV.
+VK_EXT_image_robustness on RADV.
 VK_EXT_private_data on ANV and RADV.
 VK_EXT_custom_border_color on ANV and RADV.
 VK_EXT_pipeline_creation_cache_control on ANV and RADV.
index 18767a300333320c576d18ee723d9cdc70cb93bf..53a6a3d4309a9a627749bfa8c4afdc90f87e9e26 100644 (file)
@@ -1333,6 +1333,12 @@ void radv_GetPhysicalDeviceFeatures2(
                        features->extendedDynamicState = true;
                        break;
                }
+               case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT: {
+                       VkPhysicalDeviceImageRobustnessFeaturesEXT *features =
+                               (VkPhysicalDeviceImageRobustnessFeaturesEXT *)ext;
+                       features->robustImageAccess = true;
+                       break;
+               }
                default:
                        break;
                }
index 37b19b932ff0f20174d36348366bc7d19479501f..90b5ef41e8371d6546ac5778269b65a98533d7b7 100644 (file)
@@ -135,6 +135,7 @@ EXTENSIONS = [
     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_host_query_reset',                  1, True),
+    Extension('VK_EXT_image_robustness',                  1, True),
     Extension('VK_EXT_index_type_uint8',                  1, 'device->rad_info.chip_class >= GFX8'),
     Extension('VK_EXT_inline_uniform_block',              1, True),
     # Disable line rasterization on GFX9 until the CTS failures have been resolved.