anv: add a comment about Wa_14016820455
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:
committed by
Marge Bot
parent
72a1c4ffb2
commit
b204153106
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user