mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 00:12:40 +00:00
Support reciprocal ABGR sampled views
This commit is contained in:
1 parent
0abe03af94
commit
1416131a0a
4 files changed
+26
-4
No files matched your search
@@ -1437,6 +1437,10 @@ VkImageView TextureCache::GetRenderTargetSampledView(GraphicContext* c
|
||||
components = {VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_R,
|
||||
VK_COMPONENT_SWIZZLE_A};
|
||||
break;
|
||||
case VulkanImage::VIEW_ABGR:
|
||||
components = {VK_COMPONENT_SWIZZLE_A, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_G,
|
||||
VK_COMPONENT_SWIZZLE_R};
|
||||
break;
|
||||
default:
|
||||
EXIT("TextureCache: unsupported render-target sampled view variant: %d\n", variant);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user