iris: Enable EXT_depth_bounds_test extension.
authorRafael Antognolli <rafael.antognolli@intel.com>
Mon, 13 Apr 2020 22:35:50 +0000 (22:35 +0000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Apr 2020 15:28:59 +0000 (15:28 +0000)
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 <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4540>

docs/relnotes/new_features.txt
src/gallium/drivers/iris/iris_screen.c

index 416313997370c3460d9f99dc34e63e860134e72a..b3346d18fd4963d458f6f1460799dba59e3a0a65 100644 (file)
@@ -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.
index 0c99e3702e28b10602c4b25ad0ed74f649b3f1ea..b93845794b23faeffc019a2aca5d1ae2113a7776 100644 (file)
@@ -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: