mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 01:40:14 +01:00
r300g: mark HiZ/ZMask_clear atoms as non-dirty after emission in clear
This commit is contained in:
parent
ff27c68ca2
commit
6dfcff6b05
1 changed files with 4 additions and 1 deletions
|
|
@ -237,9 +237,12 @@ static void r300_clear(struct pipe_context* pipe,
|
|||
/* Emit clear packets. */
|
||||
r300_emit_zmask_clear(r300, r300->zmask_clear.size,
|
||||
r300->zmask_clear.state);
|
||||
if (r300->hiz_clear.dirty)
|
||||
r300->zmask_clear.dirty = FALSE;
|
||||
if (r300->hiz_clear.dirty) {
|
||||
r300_emit_hiz_clear(r300, r300->hiz_clear.size,
|
||||
r300->hiz_clear.state);
|
||||
r300->hiz_clear.dirty = FALSE;
|
||||
}
|
||||
} else {
|
||||
assert(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue