turnip: don't set LRZ enable at end of renderpass
Fixes hanging with cases that use more than one renderpass. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3122> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3122>
This commit is contained in:
parent
c7c5a84cf3
commit
edfc4daab8
|
@ -1428,7 +1428,7 @@ tu6_render_end(struct tu_cmd_buffer *cmd, struct tu_cs *cs)
|
|||
}
|
||||
|
||||
tu_cs_emit_pkt4(cs, REG_A6XX_GRAS_LRZ_CNTL, 1);
|
||||
tu_cs_emit(cs, A6XX_GRAS_LRZ_CNTL_ENABLE | A6XX_GRAS_LRZ_CNTL_UNK3);
|
||||
tu_cs_emit(cs, 0);
|
||||
|
||||
tu6_emit_lrz_flush(cmd, cs);
|
||||
|
||||
|
|
Loading…
Reference in New Issue