mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 13:00:21 +01:00
radv/sdma: remove redundant check for compression when getting metadata
It's already checked by the caller. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34517>
This commit is contained in:
parent
d3d5d2fe86
commit
b44dc98cde
1 changed files with 0 additions and 5 deletions
|
|
@ -195,11 +195,6 @@ radv_sdma_get_metadata_config(const struct radv_device *const device, const stru
|
|||
{
|
||||
const struct radv_physical_device *pdev = radv_device_physical(device);
|
||||
|
||||
if (!pdev->info.sdma_supports_compression ||
|
||||
!(radv_dcc_enabled(image, subresource.mipLevel) || radv_htile_enabled(image, subresource.mipLevel))) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
const VkFormat format = vk_format_get_aspect_format(image->vk.format, subresource.aspectMask);
|
||||
const struct util_format_description *desc = radv_format_description(format);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue