diff options
author | Marek Olšák <[email protected]> | 2013-01-24 20:54:02 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-02-06 14:51:32 +0100 |
commit | b89b80a91deb9f3095d6fc7a65bb2c6190b4e0c7 (patch) | |
tree | 326c14dd5243fca123f0fff260e0b30560ba1d71 /src/mesa/state_tracker | |
parent | c1856da75da6a71f1e74174921fa2ab7726217be (diff) |
st/mesa: put RGBX8 and RGBA8 in the default format lists
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_format.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index f2b17e68aac..64177057def 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -698,6 +698,7 @@ struct format_mapping #define DEFAULT_RGBA_FORMATS \ PIPE_FORMAT_B8G8R8A8_UNORM, \ + PIPE_FORMAT_R8G8B8A8_UNORM, \ PIPE_FORMAT_A8R8G8B8_UNORM, \ PIPE_FORMAT_A8B8G8R8_UNORM, \ PIPE_FORMAT_B5G6R5_UNORM, \ @@ -705,6 +706,7 @@ struct format_mapping #define DEFAULT_RGB_FORMATS \ PIPE_FORMAT_B8G8R8X8_UNORM, \ + PIPE_FORMAT_R8G8B8X8_UNORM, \ PIPE_FORMAT_X8R8G8B8_UNORM, \ PIPE_FORMAT_X8B8G8R8_UNORM, \ PIPE_FORMAT_B8G8R8A8_UNORM, \ |