mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
radeonsi: remove the "display_dcc_offset == 0" assertion
I think it's not needed. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
This commit is contained in:
parent
bfddfd12b6
commit
66483ee017
1 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue