diff options
author | Richard Sandiford <[email protected]> | 2014-07-22 10:51:17 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2014-09-17 13:17:47 +1000 |
commit | df14091c5857dc398521aaa9ff43bbbaee2d6116 (patch) | |
tree | f4e07d9d59dbb70a1d5e2e999092072d479ab6ab /src/mesa/main/formats.csv | |
parent | 234d194b49f392f9b5d55dc7f8a8b16eb8f07925 (diff) |
mesa: Add MESA_FORMAT_A8L8_{SNORM,SRGB}
The associated UNORM format already existed.
This means that each LnAn format has a reversed counterpart,
which is necessary for handling big-endian mesa<->gallium mappings.
[airlied: rebased onto current master]
Signed-off-by: Richard Sandiford <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/formats.csv')
-rw-r--r-- | src/mesa/main/formats.csv | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/formats.csv b/src/mesa/main/formats.csv index 4d542b7c6eb..b4d16deb9d2 100644 --- a/src/mesa/main/formats.csv +++ b/src/mesa/main/formats.csv @@ -119,6 +119,7 @@ MESA_FORMAT_G16R16_SNORM , packed, 1, 1, sn16, sn16, , MESA_FORMAT_R8G8_SNORM , packed, 1, 1, sn8 , sn8 , , , xy01, rgb MESA_FORMAT_G8R8_SNORM , packed, 1, 1, sn8 , sn8 , , , yx01, rgb MESA_FORMAT_L8A8_SNORM , packed, 1, 1, sn8 , sn8 , , , xxxy, rgb +MESA_FORMAT_A8L8_SNORM , packed, 1, 1, sn8 , sn8 , , , yyyx, rgb # Array signed/normalized formats MESA_FORMAT_A_SNORM8 , array , 1, 1, sn8 , , , , 000x, rgb @@ -141,6 +142,7 @@ MESA_FORMAT_B8G8R8X8_SRGB , packed, 1, 1, un8 , un8 , un8 , x8 MESA_FORMAT_R8G8B8A8_SRGB , packed, 1, 1, un8 , un8 , un8 , un8 , xyzw, srgb MESA_FORMAT_R8G8B8X8_SRGB , packed, 1, 1, un8 , un8 , un8 , x8 , xyz1, srgb MESA_FORMAT_L8A8_SRGB , packed, 1, 1, un8 , un8 , , , xxxy, srgb +MESA_FORMAT_A8L8_SRGB , packed, 1, 1, un8 , un8 , , , yyyx, srgb # Array sRGB formats MESA_FORMAT_L_SRGB8 , array , 1, 1, un8 , , , , xxx1, srgb |