From a626eff1c3d174dc44dfec7baa635724d83b2028 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Thu, 30 Mar 2023 15:40:57 -0500 Subject: [PATCH] nvk: Set pointClippingBehavior This is what the blob advertises. I don't know if it's correct or not because the CTS test for this seems to pass either way: dEQP-VK.clipping.clip_volume.depth_clamp.point_list Part-of: --- src/nouveau/vulkan/nvk_physical_device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nouveau/vulkan/nvk_physical_device.c b/src/nouveau/vulkan/nvk_physical_device.c index 1a4a744b9ec..a6ef0b2a8d2 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -149,6 +149,7 @@ nvk_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice, VkPhysicalDeviceVulkan11Properties core_1_1 = { .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES, /* Vulkan 1.1 properties */ + .pointClippingBehavior = VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY, .maxMultiviewViewCount = NVK_MAX_MULTIVIEW_VIEW_COUNT, .maxMultiviewInstanceIndex = UINT32_MAX, .maxPerSetDescriptors = UINT32_MAX,