From f9ad73cdfd25753a24f492dfc8d782473c67f7df Mon Sep 17 00:00:00 2001 From: Plamena Manolova Date: Mon, 28 Oct 2019 23:47:39 +0000 Subject: [PATCH] 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 --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.11.0