iris: Enable EXT_depth_bounds_test extension.

It was implemented in 1df871f8ff, 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>
This commit is contained in:
Rafael Antognolli 2020-04-13 22:35:50 +00:00 committed by Marge Bot
parent daeff19608
commit 0443a4a0af
2 changed files with 3 additions and 0 deletions

View 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.

View 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: