mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 12:50:10 +01:00
ac/surface: fix MSAA corruption on Vega due to FMASK tile swizzle
a needle in the haystack? Cc: 18.1 <mesa-stable@lists.freedesktop.org> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
e6ff5ac446
commit
c5c6e0187f
1 changed files with 1 additions and 1 deletions
|
|
@ -1302,7 +1302,7 @@ static int gfx9_compute_miptree(ADDR_HANDLE addrlib,
|
|||
/* This counter starts from 1 instead of 0. */
|
||||
xin.surfIndex = p_atomic_inc_return(config->info.fmask_surf_index);
|
||||
xin.flags = in->flags;
|
||||
xin.swizzleMode = in->swizzleMode;
|
||||
xin.swizzleMode = fin.swizzleMode;
|
||||
xin.resourceType = in->resourceType;
|
||||
xin.format = in->format;
|
||||
xin.numSamples = in->numSamples;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue