mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 04:10:09 +01:00
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:
parent
5398ec6356
commit
ba9988d230
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue