From 6b002d2549844915b13abe12f5ae21cc73f1ea82 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 4 Nov 2021 18:21:40 +0100 Subject: [PATCH] Revert "radv: only enable VK_EXT_display_control for vrcompositor (SteamVR)" It's fixed now. This reverts commit db7ad0c1700e2f012730898e02bc0cebf1b04304. Reviewed-by: Bas Nieuwenhuizen Part-of: --- src/amd/vulkan/radv_device.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 160c451f75a..e25c060471f 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -403,15 +403,6 @@ static void radv_physical_device_get_supported_extensions(const struct radv_physical_device *device, struct vk_device_extension_table *ext) { - bool enable_VK_EXT_display_control = false; - - /* Only enable VK_EXT_display_control for vrcompositor (SteamVR) because one CTS test fails and - * the fix is still pending, see https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12305. - */ - if (device->instance->vk.app_info.app_name && - !strcmp(device->instance->vk.app_info.app_name, "vrcompositor")) - enable_VK_EXT_display_control = true; - *ext = (struct vk_device_extension_table){ .KHR_8bit_storage = true, .KHR_16bit_storage = true, @@ -489,7 +480,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device .EXT_descriptor_indexing = true, .EXT_discard_rectangles = true, #ifdef VK_USE_PLATFORM_DISPLAY_KHR - .EXT_display_control = enable_VK_EXT_display_control, + .EXT_display_control = true, #endif .EXT_extended_dynamic_state = true, .EXT_extended_dynamic_state2 = true,