From 939ddccb7a541259957e883d2c9dedbe4df265ad Mon Sep 17 00:00:00 2001 From: Plamena Manolova Date: Thu, 24 Oct 2019 21:05:11 +0100 Subject: anv: Add support for depth bounds testing. In gen12 we use the 3DSTATE_DEPTH_BOUNDS instruction to enable depth bounds testing. Signed-off-by: Plamena Manolova Reviewed-by: Jason Ekstrand --- src/intel/vulkan/anv_private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/intel/vulkan/anv_private.h') diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index ef246e4612e..cce986b7412 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -2886,6 +2886,7 @@ struct anv_pipeline { bool depth_clip_enable; bool sample_shading_enable; bool kill_pixel; + bool depth_bounds_test_enable; struct { uint32_t sf[7]; -- cgit v1.2.3