From 910bac63dfc5c6d9bf7162388c951784eba534f6 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 4 Mar 2011 16:39:51 +0100 Subject: 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 | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/r300/r300_context.h') diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 6f2aab69ab..b0a67e0122 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]; }; -- cgit v1.2.3