diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_texture.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_texture.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_texture.c b/src/gallium/drivers/radeonsi/si_texture.c index 6fe63218760..34a1624caed 100644 --- a/src/gallium/drivers/radeonsi/si_texture.c +++ b/src/gallium/drivers/radeonsi/si_texture.c @@ -462,10 +462,8 @@ static void si_texture_zero_dcc_fields(struct si_texture *tex) static bool si_texture_discard_dcc(struct si_screen *sscreen, struct si_texture *tex) { - if (!si_can_disable_dcc(tex)) { - assert(tex->surface.display_dcc_offset == 0); + if (!si_can_disable_dcc(tex)) return false; - } assert(tex->dcc_separate_buffer == NULL); |