anv: Advertise point clipping properties

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Samuel Iglesias Gonsálvez
2017-05-17 10:02:24 +02:00
committed by Jason Ekstrand
parent 29680ff9a8
commit c71e5c30a5

View File

@@ -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;