From f800d9101985097fcb4ea54d267989b4ef5a6a81 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Fri, 6 Oct 2017 00:50:15 +0200 Subject: [PATCH] radv: Implement querying the point clipping behavior. Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_device.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index aa7fe35..ae9baf5 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -866,6 +866,12 @@ void radv_GetPhysicalDeviceProperties2KHR( properties->maxMultiviewInstanceIndex = INT_MAX; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES_KHR: { + VkPhysicalDevicePointClippingPropertiesKHR *properties = + (VkPhysicalDevicePointClippingPropertiesKHR*)ext; + properties->pointClippingBehavior = VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES_KHR; + break; + } default: break; } -- 2.7.4