mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-15 18:10:18 +01:00
radv: fix color decompressions for FMASK/CMASK
Only skip levels without DCC when it's a DCC decompression. Whoops. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
42a41a9e4a
commit
6ee40efd02
1 changed files with 2 additions and 1 deletions
|
|
@ -673,7 +673,8 @@ radv_process_color_image(struct radv_cmd_buffer *cmd_buffer,
|
|||
uint32_t width, height;
|
||||
|
||||
/* Do not decompress levels without DCC. */
|
||||
if (!radv_dcc_enabled(image, subresourceRange->baseMipLevel + l))
|
||||
if (decompress_dcc &&
|
||||
!radv_dcc_enabled(image, subresourceRange->baseMipLevel + l))
|
||||
continue;
|
||||
|
||||
width = radv_minify(image->info.width,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue