From: Bas Nieuwenhuizen Date: Thu, 5 Oct 2017 22:50:15 +0000 (+0200) Subject: radv: Implement querying the point clipping behavior. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f800d9101985097fcb4ea54d267989b4ef5a6a81;p=mesa.git radv: Implement querying the point clipping behavior. Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index aa7fe35d87e..ae9baf590d5 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; }