anv: add a comment about Wa_14016820455
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35101>
This commit is contained in:
Lionel Landwerlin 2025-05-22 09:13:04 +03:00 committed by Marge Bot
parent 72a1c4ffb2
commit b204153106

View file

@ -2972,8 +2972,13 @@ genX(cmd_buffer_flush_gfx_hw_state)(struct anv_cmd_buffer *cmd_buffer)
* because of another one is changing.
*/
/* Reproduce the programming done on Windows drivers.
* Fixes flickering issues with multiple workloads.
/* Reprogram SF_CLIP & CC_STATE together. This reproduces the programming
* done on Windows drivers. Fixes flickering issues with multiple
* workloads.
*
* Since blorp disables 3DSTATE_CLIP::ClipEnable and dirties CC_STATE, this
* also takes care of Wa_14016820455 which requires SF_CLIP to be
* reprogrammed whenever 3DSTATE_CLIP::ClipEnable is enabled.
*/
if (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_SF_CLIP) ||
BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_VIEWPORT_CC_PTR)) {