From 32abeac8a8b1ed3c18b9ddde21c5fe8e8211b148 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Wed, 19 May 2021 09:08:23 +0200 Subject: [PATCH] v3dv: implement VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Relevant CTS test (requires VK_KHR_maintenance2); dEQP-VK.clipping.clip_volume.clipped.large_points Reviewed-by: Alejandro PiƱeiro Part-of: --- src/broadcom/vulkan/v3dv_device.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c index 5f86458c3be..5d18e695c23 100644 --- a/src/broadcom/vulkan/v3dv_device.c +++ b/src/broadcom/vulkan/v3dv_device.c @@ -1242,6 +1242,13 @@ v3dv_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice, * never provide this extension. */ break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES: { + VkPhysicalDevicePointClippingProperties *props = + (VkPhysicalDevicePointClippingProperties *)ext; + props->pointClippingBehavior = + VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES; + break; + } default: v3dv_debug_ignored_stype(ext->sType); break;