From 1f2b53945115f9b54933af1412d3cc0eb16a877f Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 13 Apr 2012 17:13:01 +0100 Subject: [PATCH] gallium: document dual source blending restrictions on gallium As per Brian's suggestion, document the restrictions on dual src blending. Signed-off-by: Dave Airlie --- src/gallium/docs/source/cso/blend.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gallium/docs/source/cso/blend.rst b/src/gallium/docs/source/cso/blend.rst index 7bde10c1245..dce999c8327 100644 --- a/src/gallium/docs/source/cso/blend.rst +++ b/src/gallium/docs/source/cso/blend.rst @@ -12,7 +12,11 @@ Blend Factors The blend factors largely follow the same pattern as their counterparts in other modern and legacy drawing APIs. -XXX blurb about dual-source blends +Dual source blend factors are supported for up to 1 MRT, although +you can advertise > 1 MRT, the stack cannot handle them for a few reasons. +There is no definition on how the 1D array of shader outputs should be mapped +to something that would be a 2D array (location, index). No current hardware +exposes > 1 MRT, and we should revisit this issue if anyone ever does. Logical Operations ------------------ -- 2.30.2