mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
radv: enable comp-to-single for MSAA images
This allows fast clears for concurrent MSAA images. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12483>
This commit is contained in:
parent
de8865df56
commit
b269f59ec5
1 changed files with 0 additions and 4 deletions
|
|
@ -1449,10 +1449,6 @@ radv_image_use_comp_to_single(const struct radv_device *device, const struct rad
|
|||
if (!radv_image_has_dcc(image))
|
||||
return false;
|
||||
|
||||
/* TODO: DCC fast clears with MSAA aren't fully supported. */
|
||||
if (image->info.samples > 1)
|
||||
return false;
|
||||
|
||||
/* It seems 8bpp and 16bpp require RB+ to work. */
|
||||
unsigned bytes_per_pixel = vk_format_get_blocksize(image->vk_format);
|
||||
if (bytes_per_pixel <= 2 && !device->physical_device->rad_info.rbplus_allowed)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue