summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_formats.c
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2015-09-29 15:47:39 -0700
committerNanley Chery <[email protected]>2015-11-09 15:41:41 -0800
commit9c2b37a9c3cb9586365ae7e7eb532b85eae98f3a (patch)
treed95044eb3e1dd64ebed8e3b5c8cdb84a0dfa3a70 /src/vulkan/anv_formats.c
parent41cf35d1d86e2075b736db7701764d66ea894b66 (diff)
anv/formats: Define ETC2 formats
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/vulkan/anv_formats.c')
-rw-r--r--src/vulkan/anv_formats.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/vulkan/anv_formats.c b/src/vulkan/anv_formats.c
index b588465e00e..56f4ebda59a 100644
--- a/src/vulkan/anv_formats.c
+++ b/src/vulkan/anv_formats.c
@@ -144,16 +144,16 @@ static const struct anv_format anv_formats[] = {
fmt(VK_FORMAT_BC6H_SFLOAT, UNSUPPORTED),
fmt(VK_FORMAT_BC7_UNORM, UNSUPPORTED),
fmt(VK_FORMAT_BC7_SRGB, UNSUPPORTED),
- fmt(VK_FORMAT_ETC2_R8G8B8_UNORM, UNSUPPORTED),
- fmt(VK_FORMAT_ETC2_R8G8B8_SRGB, UNSUPPORTED),
- fmt(VK_FORMAT_ETC2_R8G8B8A1_UNORM, UNSUPPORTED),
- fmt(VK_FORMAT_ETC2_R8G8B8A1_SRGB, UNSUPPORTED),
- fmt(VK_FORMAT_ETC2_R8G8B8A8_UNORM, UNSUPPORTED),
- fmt(VK_FORMAT_ETC2_R8G8B8A8_SRGB, UNSUPPORTED),
- fmt(VK_FORMAT_EAC_R11_UNORM, UNSUPPORTED),
- fmt(VK_FORMAT_EAC_R11_SNORM, UNSUPPORTED),
- fmt(VK_FORMAT_EAC_R11G11_UNORM, UNSUPPORTED),
- fmt(VK_FORMAT_EAC_R11G11_SNORM, UNSUPPORTED),
+ fmt(VK_FORMAT_ETC2_R8G8B8_UNORM, ETC2_RGB8 , .bs = 8, .bw = 4, .bh = 4),
+ fmt(VK_FORMAT_ETC2_R8G8B8_SRGB, ETC2_SRGB8 , .bs = 8, .bw = 4, .bh = 4),
+ fmt(VK_FORMAT_ETC2_R8G8B8A1_UNORM, ETC2_RGB8_PTA , .bs = 8, .bw = 4, .bh = 4),
+ fmt(VK_FORMAT_ETC2_R8G8B8A1_SRGB, ETC2_SRGB8_PTA , .bs = 8, .bw = 4, .bh = 4),
+ fmt(VK_FORMAT_ETC2_R8G8B8A8_UNORM, ETC2_EAC_RGBA8 , .bs = 16, .bw = 4, .bh = 4),
+ fmt(VK_FORMAT_ETC2_R8G8B8A8_SRGB, ETC2_EAC_SRGB8_A8, .bs = 16, .bw = 4, .bh = 4),
+ fmt(VK_FORMAT_EAC_R11_UNORM, EAC_R11 , .bs = 8, .bw = 4, .bh = 4),
+ fmt(VK_FORMAT_EAC_R11_SNORM, EAC_SIGNED_R11 , .bs = 8, .bw = 4, .bh = 4),
+ fmt(VK_FORMAT_EAC_R11G11_UNORM, EAC_RG11 , .bs = 16, .bw = 4, .bh = 4),
+ fmt(VK_FORMAT_EAC_R11G11_SNORM, EAC_SIGNED_RG11 , .bs = 16, .bw = 4, .bh = 4),
fmt(VK_FORMAT_ASTC_4x4_UNORM, UNSUPPORTED),
fmt(VK_FORMAT_ASTC_4x4_SRGB, UNSUPPORTED),
fmt(VK_FORMAT_ASTC_5x4_UNORM, UNSUPPORTED),