mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 19:40:10 +01:00
turnip: add missing register write to disable dithering
This was causing rendering issues with low precision formats because GL driver can enable it. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8707>
This commit is contained in:
parent
bdaa4d1ee0
commit
dd388b14c8
1 changed files with 2 additions and 1 deletions
|
|
@ -803,7 +803,8 @@ tu6_init_hw(struct tu_cmd_buffer *cmd, struct tu_cs *cs)
|
|||
|
||||
tu_cs_emit_write_reg(cs, REG_A6XX_PC_MODE_CNTL, 0x0000001f);
|
||||
|
||||
tu_cs_emit_regs(cs, A6XX_RB_ALPHA_CONTROL());
|
||||
tu_cs_emit_regs(cs, A6XX_RB_ALPHA_CONTROL()); /* always disable alpha test */
|
||||
tu_cs_emit_regs(cs, A6XX_RB_DITHER_CNTL()); /* always disable dithering */
|
||||
|
||||
tu_disable_draw_states(cmd, cs);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue