r300g: implement blending for some of non-RGBA8 formats
authorMarek Olšák <maraeo@gmail.com>
Fri, 4 Mar 2011 15:39:51 +0000 (16:39 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 4 Mar 2011 16:47:56 +0000 (17:47 +0100)
commit910bac63dfc5c6d9bf7162388c951784eba534f6
tree17093a72704672158ee61f9bd07f31dab15b6030
parent4a4f6a390160d8c535e0a7ae96a203a99971f3c0
r300g: implement blending for some of non-RGBA8 formats

Blending is now fully supported with:
- R8_UNORM
- R8G8_UNORM
- B8G8R8A8_UNORM
- R16G16B16A16_FLOAT (r500-only)

Blending is partially supported (DST_ALPHA not working) with:
- L8A8_UNORM
- I8_UNORM
- B5G5R5A1_UNORM
- B10G10R10A2_UNORM

The other formats can't do blending.
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_state.c