From a3416aab1faf4514de4b086138099a0739a0865e Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Mon, 30 Jan 2023 20:12:01 -0600 Subject: [PATCH] nvk: Advertise VK_KHR_separate_depth_stencil_layout We entirely ignore image layouts on NVIDIA so this is trivial. Part-of: --- src/nouveau/vulkan/nvk_physical_device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nouveau/vulkan/nvk_physical_device.c b/src/nouveau/vulkan/nvk_physical_device.c index be489151717..f4879e6aaee 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -76,6 +76,7 @@ nvk_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice, .shaderUniformTexelBufferArrayDynamicIndexing = true, .shaderStorageTexelBufferArrayDynamicIndexing = true, .imagelessFramebuffer = true, + .separateDepthStencilLayouts = true, .hostQueryReset = true, }; @@ -293,6 +294,7 @@ nvk_get_device_extensions(const struct nvk_physical_device *device, .KHR_format_feature_flags2 = true, .KHR_imageless_framebuffer = true, .KHR_push_descriptor = true, + .KHR_separate_depth_stencil_layouts = true, #ifdef NVK_USE_WSI_PLATFORM .KHR_swapchain = true, .KHR_swapchain_mutable_format = true,