radv: remove useless use of radv_image_use_comp_to_single()

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34231>
This commit is contained in:
Samuel Pitoiset 2025-03-25 13:46:19 +01:00 committed by Marge Bot
parent 5398ec6356
commit ba9988d230

View file

@ -1582,7 +1582,7 @@ radv_layout_can_fast_clear(const struct radv_device *device, const struct radv_i
* images can only be fast-cleared if comp-to-single is supported because we don't yet support
* FCE on the compute queue.
*/
return queue_mask == (1u << RADV_QUEUE_GENERAL) || radv_image_use_comp_to_single(device, image);
return queue_mask == (1u << RADV_QUEUE_GENERAL) || image->support_comp_to_single;
}
bool