diff options
author | Eric Anholt <[email protected]> | 2019-08-19 13:58:23 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-11-07 19:43:41 +0000 |
commit | 4bbaac3782ad83765698c3722a5e94cda94759fa (patch) | |
tree | c51ff7dfc943093d5300dea30379cbf65a3cbd6e /src/gallium/include/pipe/p_format.h | |
parent | 6196259d957cc7c3ea355b74649623ef7e582854 (diff) |
gallium: Add some more channel orderings of packed formats.
This covers everything that MESA_FORMAT had for packed unorm.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_format.h')
-rw-r--r-- | src/gallium/include/pipe/p_format.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h index 1c116c0ef3c..f1524352d9e 100644 --- a/src/gallium/include/pipe/p_format.h +++ b/src/gallium/include/pipe/p_format.h @@ -45,7 +45,9 @@ enum pipe_format { PIPE_FORMAT_A8R8G8B8_UNORM, PIPE_FORMAT_X8R8G8B8_UNORM, PIPE_FORMAT_B5G5R5A1_UNORM, + PIPE_FORMAT_R4G4B4A4_UNORM, PIPE_FORMAT_B4G4R4A4_UNORM, + PIPE_FORMAT_R5G6B5_UNORM, PIPE_FORMAT_B5G6R5_UNORM, PIPE_FORMAT_R10G10B10A2_UNORM, PIPE_FORMAT_L8_UNORM, /**< ubyte luminance */ @@ -177,6 +179,8 @@ enum pipe_format { PIPE_FORMAT_R10G10B10X2_USCALED, PIPE_FORMAT_R10G10B10X2_SNORM, PIPE_FORMAT_L4A4_UNORM, + PIPE_FORMAT_A2R10G10B10_UNORM, + PIPE_FORMAT_A2B10G10R10_UNORM, PIPE_FORMAT_B10G10R10A2_UNORM, PIPE_FORMAT_R10SG10SB10SA2U_NORM, PIPE_FORMAT_R8G8Bx_SNORM, @@ -188,6 +192,7 @@ enum pipe_format { PIPE_FORMAT_S8X24_UINT, PIPE_FORMAT_X32_S8X24_UINT, + PIPE_FORMAT_R3G3B2_UNORM, PIPE_FORMAT_B2G3R3_UNORM, PIPE_FORMAT_L16A16_UNORM, PIPE_FORMAT_A16_UNORM, @@ -412,8 +417,11 @@ enum pipe_format { PIPE_FORMAT_P016, PIPE_FORMAT_R10G10B10X2_UNORM, + PIPE_FORMAT_A1R5G5B5_UNORM, PIPE_FORMAT_A1B5G5R5_UNORM, PIPE_FORMAT_X1B5G5R5_UNORM, + PIPE_FORMAT_R5G5B5A1_UNORM, + PIPE_FORMAT_A4R4G4B4_UNORM, PIPE_FORMAT_A4B4G4R4_UNORM, PIPE_FORMAT_R8_SRGB, |