aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-11-27 16:18:08 +0000
committerDave Airlie <[email protected]>2011-11-27 16:25:12 +0000
commitee7bc103919d0af7d77a58cdaa855d6e07e899c6 (patch)
tree5e49b31c93204210ea4ad06b26b4fd26a4c09a7d /src/gallium
parentd4fcf67a3ac78c29448000486dadc2b4b1b2a56d (diff)
gallium: add B10G10R10A2_UINT format
This format is used for ARB_texture_rgb10_a2ui extension. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_format.csv1
-rw-r--r--src/gallium/include/pipe/p_format.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_format.csv b/src/gallium/auxiliary/util/u_format.csv
index 998ac416dc3..4b6fc75361d 100644
--- a/src/gallium/auxiliary/util/u_format.csv
+++ b/src/gallium/auxiliary/util/u_format.csv
@@ -340,3 +340,4 @@ PIPE_FORMAT_I32_SINT , plain, 1, 1, sp32, , , , xxxx, rgb
PIPE_FORMAT_L32_SINT , plain, 1, 1, sp32, , , , xxx1, rgb
PIPE_FORMAT_L32A32_SINT , plain, 1, 1, sp32, sp32, , , xxxy, rgb
+PIPE_FORMAT_B10G10R10A2_UINT , plain, 1, 1, up10, up10, up10, up2, zyxw, rgb
diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h
index e32dace01f3..f229a5ad545 100644
--- a/src/gallium/include/pipe/p_format.h
+++ b/src/gallium/include/pipe/p_format.h
@@ -311,6 +311,7 @@ enum pipe_format {
PIPE_FORMAT_L32_SINT = 223,
PIPE_FORMAT_L32A32_SINT = 224,
+ PIPE_FORMAT_B10G10R10A2_UINT = 225,
PIPE_FORMAT_COUNT
};