mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
gallium/radeon: clear dirty_level_mask when discarding CMASK
This fixes: GL45-CTS.texture_barrier.* Tested-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
d301efb400
commit
ed24d79ed7
1 changed files with 1 additions and 0 deletions
|
|
@ -362,6 +362,7 @@ static void r600_texture_discard_cmask(struct r600_common_screen *rscreen,
|
|||
/* Disable CMASK. */
|
||||
memset(&rtex->cmask, 0, sizeof(rtex->cmask));
|
||||
rtex->cmask.base_address_reg = rtex->resource.gpu_address >> 8;
|
||||
rtex->dirty_level_mask = 0;
|
||||
|
||||
if (rscreen->chip_class >= SI)
|
||||
rtex->cb_color_info &= ~SI_S_028C70_FAST_CLEAR(1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue