summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-03-04 16:39:51 +0100
committerMarek Olšák <[email protected]>2011-03-04 17:47:56 +0100
commit910bac63dfc5c6d9bf7162388c951784eba534f6 (patch)
tree17093a72704672158ee61f9bd07f31dab15b6030 /src/gallium/drivers/r300/r300_context.h
parent4a4f6a390160d8c535e0a7ae96a203a99971f3c0 (diff)
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.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 6f2aab69ab1..b0a67e01225 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -70,6 +70,7 @@ struct r300_blend_state {
};
struct r300_blend_color_state {
+ struct pipe_blend_color state;
uint32_t cb[3];
};