libs/vkd3d: Add DXGI_FORMAT_R8_SNORM.

This commit is contained in:
Henri Verbeet 2017-07-27 16:26:36 +02:00
parent abff100287
commit 2a3d121c74

View File

@ -39,6 +39,7 @@ static const struct vkd3d_format vkd3d_formats[] =
{DXGI_FORMAT_R16_UNORM, VK_FORMAT_R16_UNORM, 2, VK_IMAGE_ASPECT_COLOR_BIT},
{DXGI_FORMAT_R8_UNORM, VK_FORMAT_R8_UNORM, 1, VK_IMAGE_ASPECT_COLOR_BIT},
{DXGI_FORMAT_R8_UINT, VK_FORMAT_R8_UINT, 1, VK_IMAGE_ASPECT_COLOR_BIT},
{DXGI_FORMAT_R8_SNORM, VK_FORMAT_R8_SNORM, 1, VK_IMAGE_ASPECT_COLOR_BIT},
{DXGI_FORMAT_B8G8R8A8_UNORM, VK_FORMAT_B8G8R8A8_UNORM, 4, VK_IMAGE_ASPECT_COLOR_BIT},
{DXGI_FORMAT_B8G8R8A8_UNORM_SRGB, VK_FORMAT_B8G8R8A8_SRGB, 4, VK_IMAGE_ASPECT_COLOR_BIT},
};