summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-08-06 10:27:58 -0700
committerJason Ekstrand <[email protected]>2014-08-06 15:15:44 -0700
commitbb89d82ac432771602b391a85cb05749e374edf5 (patch)
treeee06a9378138a5a841a2b281410c337f2c52ef75 /src/mesa/main
parent6e9005e8b0e72e7a29cd9700d3bcb2459922c01e (diff)
mesa/formats: Use the correct swizzle parameter for the 11-bit EAC formats
Red-only formats should be x001 and RG formats should be xy01. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/formats.csv8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/formats.csv b/src/mesa/main/formats.csv
index 5abb706d548..f45e34baf3f 100644
--- a/src/mesa/main/formats.csv
+++ b/src/mesa/main/formats.csv
@@ -274,9 +274,9 @@ MESA_FORMAT_ETC2_RGB8 , etc2 , 4, 4, x64 , , ,
MESA_FORMAT_ETC2_SRGB8 , etc2 , 4, 4, x64 , , , , xyz1, srgb
MESA_FORMAT_ETC2_RGBA8_EAC , etc2 , 4, 4, x128, , , , xyzw, rgb
MESA_FORMAT_ETC2_SRGB8_ALPHA8_EAC , etc2 , 4, 4, x128, , , , xyzw, srgb
-MESA_FORMAT_ETC2_R11_EAC , etc2 , 4, 4, x64 , , , , xyzw, rgb
-MESA_FORMAT_ETC2_RG11_EAC , etc2 , 4, 4, x128, , , , xyzw, rgb
-MESA_FORMAT_ETC2_SIGNED_R11_EAC , etc2 , 4, 4, x64 , , , , xyzw, rgb
-MESA_FORMAT_ETC2_SIGNED_RG11_EAC , etc2 , 4, 4, x128, , , , xyzw, rgb
+MESA_FORMAT_ETC2_R11_EAC , etc2 , 4, 4, x64 , , , , x001, rgb
+MESA_FORMAT_ETC2_RG11_EAC , etc2 , 4, 4, x128, , , , xy01, rgb
+MESA_FORMAT_ETC2_SIGNED_R11_EAC , etc2 , 4, 4, x64 , , , , x001, rgb
+MESA_FORMAT_ETC2_SIGNED_RG11_EAC , etc2 , 4, 4, x128, , , , xy01, rgb
MESA_FORMAT_ETC2_RGB8_PUNCHTHROUGH_ALPHA1 , etc2 , 4, 4, x64 , , , , xyzw, rgb
MESA_FORMAT_ETC2_SRGB8_PUNCHTHROUGH_ALPHA1, etc2 , 4, 4, x128, , , , xyzw, srgb