summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-12-21 18:54:50 +0100
committerMarek Olšák <[email protected]>2010-12-23 16:54:58 +0100
commit621e5254ef6714520f106bd3707fe6ddc279aa0c (patch)
tree8b2dfc92e969c173f27476ee77bdf42bb472b6bd /src/mesa/main/formats.h
parent0a7b60f7ed3167acce72b3c367181dcae81f92c1 (diff)
mesa: implement new texture format ARGB2101010
Radeon GPUs do support GL_RGB10_A2.
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r--src/mesa/main/formats.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
index 997229bf9f4..c147376ea25 100644
--- a/src/mesa/main/formats.h
+++ b/src/mesa/main/formats.h
@@ -82,6 +82,7 @@ typedef enum
MESA_FORMAT_R16, /* RRRR RRRR RRRR RRRR */
MESA_FORMAT_RG1616, /* RRRR RRRR RRRR RRRR GGGG GGGG GGGG GGGG */
MESA_FORMAT_RG1616_REV, /* GGGG GGGG GGGG GGGG RRRR RRRR RRRR RRRR */
+ MESA_FORMAT_ARGB2101010, /* AARR RRRR RRRR GGGG GGGG GGBB BBBB BBBB */
MESA_FORMAT_Z24_S8, /* ZZZZ ZZZZ ZZZZ ZZZZ ZZZZ ZZZZ SSSS SSSS */
MESA_FORMAT_S8_Z24, /* SSSS SSSS ZZZZ ZZZZ ZZZZ ZZZZ ZZZZ ZZZZ */
MESA_FORMAT_Z16, /* ZZZZ ZZZZ ZZZZ ZZZZ */