From: Rafael Antognolli Date: Mon, 13 Apr 2020 22:35:50 +0000 (+0000) Subject: iris: Enable EXT_depth_bounds_test extension. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0443a4a0af1ac76ec5284cd47c4860b3c5853cd8;p=mesa.git 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 Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick Part-of: --- diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 41631399737..b3346d18fd4 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -2,3 +2,4 @@ GL_ARB_compute_variable_group_size on i965. GL_EXT_texture_shadow_lod on radeonsi. GL_NV_copy_image on all gallium drivers. VK_KHR_shader_non_semantic_info on Intel, RADV. +GL_EXT_depth_bounds_test on Iris. 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: