diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-01-19 01:26:35 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-01-19 01:26:35 -0500 |
commit | a67cd1994f3474dd638af76b2bf5b19490863cba (patch) | |
tree | 76b34f3cf3b9807962570b98c0ce6dbc3b71b702 /src/mesa/drivers/dri/r200/r200_blit.c | |
parent | f6d529083fe7d945d522b4ab65314e89540238c4 (diff) |
r100/r200: add blit support for ARGB4444
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_blit.c')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_blit.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_blit.c b/src/mesa/drivers/dri/r200/r200_blit.c index b6bed85a6c..2b3b165c5f 100644 --- a/src/mesa/drivers/dri/r200/r200_blit.c +++ b/src/mesa/drivers/dri/r200/r200_blit.c @@ -88,6 +88,9 @@ static void inline emit_tx_setup(struct r200_context *r200, case MESA_FORMAT_RGB565: txformat |= R200_TXFORMAT_RGB565; break; + case MESA_FORMAT_ARGB4444: + txformat |= R200_TXFORMAT_ARGB4444 | R200_TXFORMAT_ALPHA_IN_MAP; + break; case MESA_FORMAT_ARGB1555: txformat |= R200_TXFORMAT_ARGB1555 | R200_TXFORMAT_ALPHA_IN_MAP; break; @@ -149,6 +152,9 @@ static inline void emit_cb_setup(struct r200_context *r200, case MESA_FORMAT_RGB565: dst_format = RADEON_COLOR_FORMAT_RGB565; break; + case MESA_FORMAT_ARGB4444: + dst_format = RADEON_COLOR_FORMAT_ARGB4444; + break; case MESA_FORMAT_ARGB1555: dst_format = RADEON_COLOR_FORMAT_ARGB1555; break; |