mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
radv: disable fast-clears with CMASK for 128-bit formats
This isn't supported according to RadeonSI.
This fixes a piglit test with Zink that uses a R32G32B32A32_SINT format
with MSAA 8x. This is because DCC fast-clears with MSAA require to
clear CMASK too.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7313
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22462>
(cherry picked from commit 0d7912d239)
This commit is contained in:
parent
596b623059
commit
907621dc09
4 changed files with 5 additions and 3 deletions
|
|
@ -4,7 +4,7 @@
|
|||
"description": "radv: disable fast-clears with CMASK for 128-bit formats",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1638,6 +1638,10 @@ radv_image_can_fast_clear(const struct radv_device *device, const struct radv_im
|
|||
/* RB+ doesn't work with CMASK fast clear on Stoney. */
|
||||
if (!radv_image_has_dcc(image) && device->physical_device->rad_info.family == CHIP_STONEY)
|
||||
return false;
|
||||
|
||||
/* Fast-clears with CMASK aren't supported for 128-bit formats. */
|
||||
if (radv_image_has_cmask(image) && vk_format_get_blocksizebits(image->vk.format) > 64)
|
||||
return false;
|
||||
} else {
|
||||
if (!radv_image_has_htile(image))
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -391,7 +391,6 @@ spec@egl_nok_texture_from_pixmap@basic,Timeout
|
|||
spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_yuv420,Fail
|
||||
spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_yvu420,Fail
|
||||
spec@ext_image_dma_buf_import@ext_image_dma_buf_import-transcode-nv12-as-r8-gr88,Fail
|
||||
spec@ext_texture_integer@multisample-fast-clear gl_ext_texture_integer,Fail
|
||||
spec@ext_texture_srgb@fbo-generatemipmap-formats,Fail
|
||||
spec@ext_texture_srgb@fbo-generatemipmap-formats-s3tc,Fail
|
||||
spec@ext_texture_srgb@fbo-generatemipmap-formats-s3tc@GL_COMPRESSED_SLUMINANCE_ALPHA,Fail
|
||||
|
|
|
|||
|
|
@ -388,7 +388,6 @@ spec@egl_nok_texture_from_pixmap@basic,Timeout
|
|||
spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_yuv420,Fail
|
||||
spec@ext_image_dma_buf_import@ext_image_dma_buf_import-sample_yvu420,Fail
|
||||
spec@ext_image_dma_buf_import@ext_image_dma_buf_import-transcode-nv12-as-r8-gr88,Fail
|
||||
spec@ext_texture_integer@multisample-fast-clear gl_ext_texture_integer,Fail
|
||||
spec@ext_texture_srgb@fbo-generatemipmap-formats,Fail
|
||||
spec@ext_texture_srgb@fbo-generatemipmap-formats-s3tc,Fail
|
||||
spec@ext_texture_srgb@fbo-generatemipmap-formats-s3tc@GL_COMPRESSED_SLUMINANCE_ALPHA,Fail
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue