Files
third_party_mesa3d/src
Pierre-Eric Pelloux-Prayer 9aaf3de90c radeonsi: emit cache flushes before draw registers
This fixes #9807 but I don't understand why.

Emitting cache flushes before VGT_PRIMITIVE_TYPE is what makes
the problem go away but changing the order in si_draw() is clearer.

The only cases where sctx->flags is modified in si_emit_draw_registers
is handled using si_emit_cache_flush_direct so we can move cache
flushing up without any addtional conditionals.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9807
Fixes: 1e4b539042 ("radeonsi: handle deferred cache flushes as a state (si_atom)")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27095>
(cherry picked from commit 0e16da89fe)
2024-01-29 22:15:51 +00:00
..
2024-01-23 20:52:01 +00:00
2024-01-10 10:29:00 +00:00
2023-10-09 18:43:09 +00:00
2023-08-18 21:33:14 +00:00
2023-10-20 17:20:11 +00:00
2023-08-04 21:31:52 +00:00