From: Dave Airlie Date: Fri, 13 Apr 2012 16:13:01 +0000 (+0100) Subject: gallium: document dual source blending restrictions on gallium X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f2b53945115f9b54933af1412d3cc0eb16a877f;p=mesa.git 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 --- 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 ------------------