vk: Allow cached view to have mutable format
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user