vk: Allow cached view to have mutable format

This commit is contained in:
kd-11 2026-02-22 20:05:33 +03:00 committed by kd-11
parent 3f174b2a97
commit 07abde4e8d

View file

@ -482,7 +482,7 @@ namespace vk
if (found != views.end())
{
ensure(found->second->info.subresourceRange.aspectMask & mask);
return found->second.get();
return found->second->as(format);
}
VkComponentMapping real_mapping;