radv: Clear dirty flag for clip rects state after emitting it.
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Tested-by: Marcus Seyfarth <m.seyfarth@gmail.com>
Fixes: 0ba3a8b3cc
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34686>
(cherry picked from commit 3ad385b9cc39e3cd44df03ab4f6285f073984e40)
This commit is contained in:

committed by
Eric Engestrom

parent
d18a3d5f09
commit
5c9733618d
@@ -334,7 +334,7 @@
|
||||
"description": "radv: Clear dirty flag for clip rects state after emitting it.",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "0ba3a8b3cce74e40c9545dbbb047f11159ac3c7e",
|
||||
"notes": null
|
||||
|
@@ -11146,6 +11146,8 @@ radv_emit_clip_rects_state(struct radv_cmd_buffer *cmd_buffer)
|
||||
|
||||
radeon_set_context_reg(R_02820C_PA_SC_CLIPRECT_RULE, cliprect_rule);
|
||||
radeon_end();
|
||||
|
||||
cmd_buffer->state.dirty &= ~RADV_CMD_DIRTY_CLIP_RECTS_STATE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user