From: Samuel Iglesias Gonsálvez Date: Wed, 17 May 2017 08:02:24 +0000 (+0200) Subject: anv: Advertise point clipping properties X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c71e5c30a5f90a8cb5732f14408cef8421b64607;p=mesa.git anv: Advertise point clipping properties Signed-off-by: Samuel Iglesias Gonsálvez Reviewed-by: Jason Ekstrand --- diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 233dd39015b..d576bb55315 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -892,6 +892,14 @@ void anv_GetPhysicalDeviceProperties2KHR( 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; + anv_finishme("Implement pop-free point clipping"); + break; + } + default: anv_debug_ignored_stype(ext->sType); break;