iris: implement occlusion query related Wa_14017076903
authorTapani Pälli <tapani.palli@intel.com>
Wed, 2 Nov 2022 10:48:25 +0000 (12:48 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 21 Mar 2023 12:56:51 +0000 (12:56 +0000)
commit415b824bc6dc8f0fce517f8fa1e38df94de15502
treeaa05c9361d6130dfe507aeb20f049c5fe215070e
parentc34916f841d35c6ec76981b0f56df25feef04b70
iris: implement occlusion query related Wa_14017076903

Fixes artifacts on some games that relied on occlusion query
results when no PS or depth buffers are bound.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21721>
src/gallium/drivers/iris/iris_state.c