Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
radeonsi: fix fb_too_small condition
fb->num_layers can be 0 so use util_num_layers(tex) instead. Fixes: f7c5855 ("radeonsi: refine fast clears for small buffers, always use them for large HTILE") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4764 Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11625>
- Loading branch information