From 528071f00478b7e77881cbbb4fe6125fcdcae386 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Thu, 25 Jun 2015 18:22:59 -0700 Subject: [PATCH] vk/formats: Fix table entry for R8G8B8_SNORM Now that anv_formats[] is formatted like a table, buggy entries are easier to see. --- src/vulkan/formats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/formats.c b/src/vulkan/formats.c index d93802b23e1..c88c7ce1ab9 100644 --- a/src/vulkan/formats.c +++ b/src/vulkan/formats.c @@ -53,7 +53,7 @@ static const struct anv_format anv_formats[] = { fmt(VK_FORMAT_R8G8_SINT, R8G8_SINT, .cpp = 2, .num_channels = 2), fmt(VK_FORMAT_R8G8_SRGB, UNSUPPORTED), /* L8A8_UNORM_SRGB */ fmt(VK_FORMAT_R8G8B8_UNORM, R8G8B8X8_UNORM, .cpp = 3, .num_channels = 3), - fmt(VK_FORMAT_R8G8B8_SNORM, R8G8B8_SNORM, .cpp = 4), + fmt(VK_FORMAT_R8G8B8_SNORM, R8G8B8_SNORM, .cpp = 3, .num_channels = 3), fmt(VK_FORMAT_R8G8B8_USCALED, R8G8B8_USCALED, .cpp = 3, .num_channels = 3), fmt(VK_FORMAT_R8G8B8_SSCALED, R8G8B8_SSCALED, .cpp = 3, .num_channels = 3), fmt(VK_FORMAT_R8G8B8_UINT, R8G8B8_UINT, .cpp = 3, .num_channels = 3), -- 2.30.2