From: José Fonseca Date: Thu, 8 Apr 2010 17:51:45 +0000 (+0100) Subject: gallium: Add missing D3D9 color formats. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1320017049ba3e59e9811a9cfe942f2eef9b0d11;p=mesa.git gallium: Add missing D3D9 color formats. --- diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h index c7a90a09a12..a9198097a32 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 };