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