From: Plamena Manolova Date: Mon, 28 Oct 2019 23:47:39 +0000 (+0000) Subject: anv: Set depthBounds to true in anv_GetPhysicalDeviceFeatures. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9ad73cdfd25753a24f492dfc8d782473c67f7df;p=mesa.git anv: Set depthBounds to true in anv_GetPhysicalDeviceFeatures. Add depth bounds testing to the list of supported physical device features. Signed-off-by: Plamena Manolova Reviewed-by: Jason Ekstrand Reviewed-by: Jordan Justen --- diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 75654da8f24..3576892471c 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -961,7 +961,7 @@ void anv_GetPhysicalDeviceFeatures( .depthClamp = true, .depthBiasClamp = true, .fillModeNonSolid = true, - .depthBounds = false, + .depthBounds = pdevice->info.gen >= 12, .wideLines = true, .largePoints = true, .alphaToOne = true,