Don't use unnecessary swizzle on vulkan text atlas

This commit is contained in:
baldurk
2018-09-02 13:08:10 +01:00
parent 9a1b8ef87d
commit 296ebc065b
+2 -2
View File
@@ -379,8 +379,8 @@ VulkanTextRenderer::VulkanTextRenderer(WrappedVulkan *driver)
m_TextAtlas,
VK_IMAGE_VIEW_TYPE_2D,
imInfo.format,
{VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SWIZZLE_ZERO,
VK_COMPONENT_SWIZZLE_ONE},
{VK_COMPONENT_SWIZZLE_IDENTITY, VK_COMPONENT_SWIZZLE_IDENTITY,
VK_COMPONENT_SWIZZLE_IDENTITY, VK_COMPONENT_SWIZZLE_IDENTITY},
{VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1},
};