Mesa (master): anv: Set depthBounds to true in anv_GetPhysicalDeviceFeatures.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Oct 29 16:05:46 UTC 2019


Module: Mesa
Branch: master
Commit: f9ad73cdfd25753a24f492dfc8d782473c67f7df
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9ad73cdfd25753a24f492dfc8d782473c67f7df

Author: Plamena Manolova <plamena.manolova at intel.com>
Date:   Mon Oct 28 23:47:39 2019 +0000

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 <plamena.manolova at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

---

 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,




More information about the mesa-commit mailing list