summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-03-02 13:35:47 +0100
committerChristian König <[email protected]>2012-03-09 12:40:54 +0100
commit4f41f8edb3a999a5b752eaa51e7fe6444f14a61d (patch)
tree200f9e53733ad87eb374faf1c1491ee4fb95998d /src/gallium/include
parent5c8040aee621735ab845f343c8dcc9fa03a1151f (diff)
gallium: add R8G8_R8B8 and G8R8_B8R8 formats
v2: simplify implementation by using correct swizzle v3: fix mix with successor patch Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_format.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h
index c58f39096b5..4f0d1f273a9 100644
--- a/src/gallium/include/pipe/p_format.h
+++ b/src/gallium/include/pipe/p_format.h
@@ -311,6 +311,9 @@ enum pipe_format {
PIPE_FORMAT_ETC1_RGB8 = 226,
+ PIPE_FORMAT_R8G8_R8B8_UNORM = 227,
+ PIPE_FORMAT_G8R8_B8R8_UNORM = 228,
+
PIPE_FORMAT_COUNT
};