aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/docs/source
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2020-04-16 10:53:03 -0700
committerMarge Bot <[email protected]>2020-04-23 04:49:52 +0000
commit85f84ea148474554af42ca513b9cb7c43a78a738 (patch)
treea5143126169723b0eb5a3ec90a08e4bca240e21b /src/gallium/docs/source
parentb88778e2de3a593587e20a8d4f0363a499f91455 (diff)
gallium: add # of MRT to blend state
To make it possible for drivers to avoid unnecessary blend state change for unused MRTs. Otherwise the driver would have to manage different blend CSOs for different potential #s of render targets. Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4619>
Diffstat (limited to 'src/gallium/docs/source')
-rw-r--r--src/gallium/docs/source/cso/blend.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/docs/source/cso/blend.rst b/src/gallium/docs/source/cso/blend.rst
index 7316e5c71cf..be5a2ef7956 100644
--- a/src/gallium/docs/source/cso/blend.rst
+++ b/src/gallium/docs/source/cso/blend.rst
@@ -99,6 +99,10 @@ alpha_to_one
If enabled, the fragment's alpha value will be set to one. As with
alpha_to_coverage, this step happens regardless of whether multisample
is enabled or the destination buffer is multisampled.
+max_rt
+ The index of the max render target (irrespecitive of whether independent
+ blend is enabled), ie. the number of MRTs minus one. This is provided
+ so that the driver can avoid the overhead of programming unused MRTs.
Per-rendertarget Members