gallium: add B10G10R10A2_UINT format

This format is used for ARB_texture_rgb10_a2ui extension.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie
2011-11-27 16:18:08 +00:00
parent d4fcf67a3a
commit ee7bc10391
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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
Can't render this file because it contains an unexpected character in line 8 and column 3.
+1
View File
@@ -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
};