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:
Jonathan Marek 2019-12-16 11:06:36 -05:00 committed by Marge Bot
parent c7c5a84cf3
commit edfc4daab8
1 changed files with 1 additions and 1 deletions

View File

@ -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);