From: Chad Versace Date: Fri, 26 Jun 2015 01:22:59 +0000 (-0700) Subject: vk/formats: Fix table entry for R8G8B8_SNORM X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=528071f00478b7e77881cbbb4fe6125fcdcae386;p=mesa.git vk/formats: Fix table entry for R8G8B8_SNORM Now that anv_formats[] is formatted like a table, buggy entries are easier to see. --- 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),