summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2020-04-13 22:35:50 +0000
committerMarge Bot <[email protected]>2020-04-16 15:28:59 +0000
commit0443a4a0af1ac76ec5284cd47c4860b3c5853cd8 (patch)
tree9bca56113053fa7910b25766cf5d134021c18f11 /src/gallium
parentdaeff19608e8ef1937167ffa8b086bba5eb3f60e (diff)
iris: Enable EXT_depth_bounds_test extension.
It was implemented in 1df871f8ff753dd234def380ea0e20d7e81cad9e, but to really enable it we need to enable PIPE_CAP_DEPTH_BOUNDS_TEST. v2: Add release notes (Ian). Suggested-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4540>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/iris/iris_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c
index 0c99e3702e2..b93845794b2 100644
--- a/src/gallium/drivers/iris/iris_screen.c
+++ b/src/gallium/drivers/iris/iris_screen.c
@@ -211,6 +211,8 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_FRAGMENT_SHADER_INTERLOCK:
case PIPE_CAP_ATOMIC_FLOAT_MINMAX:
return devinfo->gen >= 9;
+ case PIPE_CAP_DEPTH_BOUNDS_TEST:
+ return devinfo->gen >= 12;
case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS:
return 1;
case PIPE_CAP_MAX_RENDER_TARGETS: