Mesa (master): gallium: Add missing D3D9 color formats.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Apr 8 18:04:20 UTC 2010


Module: Mesa
Branch: master
Commit: 1320017049ba3e59e9811a9cfe942f2eef9b0d11
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1320017049ba3e59e9811a9cfe942f2eef9b0d11

Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Apr  8 18:51:45 2010 +0100

gallium: Add missing D3D9 color formats.

---

 src/gallium/include/pipe/p_format.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h
index c7a90a0..a919809 100644
--- a/src/gallium/include/pipe/p_format.h
+++ b/src/gallium/include/pipe/p_format.h
@@ -171,6 +171,7 @@ enum pipe_format {
    PIPE_FORMAT_R8SG8SB8UX8U_NORM       = 119,
    PIPE_FORMAT_R5SG5SB6U_NORM          = 120,
 
+   /* TODO: re-order these */
    PIPE_FORMAT_A8B8G8R8_UNORM          = 121,
    PIPE_FORMAT_B5G5R5X1_UNORM          = 122,
    PIPE_FORMAT_R10G10B10A2_USCALED     = 123,
@@ -178,6 +179,12 @@ enum pipe_format {
    PIPE_FORMAT_R9G9B9E5_FLOAT          = 125,
    PIPE_FORMAT_Z32_FLOAT_S8X24_USCALED = 126,
    PIPE_FORMAT_R1_UNORM                = 127,
+   PIPE_FORMAT_R10G10B10X2_USCALED     = 128,
+   PIPE_FORMAT_R10G10B10X2_SNORM       = 129,
+   PIPE_FORMAT_L4A4_UNORM              = 130,
+   PIPE_FORMAT_B10G10R10A2_UNORM       = 131,
+   PIPE_FORMAT_R10SG10SB10SA2U_NORM    = 132,
+   PIPE_FORMAT_R8G8Bx_SNORM            = 133,
 
    PIPE_FORMAT_COUNT
 };




More information about the mesa-commit mailing list