summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorAxel Davy <axel.davy@ens.fr>2015-01-17 14:30:17 +0100
committerAxel Davy <axel.davy@ens.fr>2015-02-06 00:07:18 +0100
commiteb1c12d20d96f56fbfa68d79bcf2103d8b3846bb (patch)
tree3a2ec86b9a8df7db41e4b866c68142bfbfd6a032 /src/gallium/docs
parent77cc799853232802627a14e5aaa408bfbed001aa (diff)
downloadexternal_mesa3d-eb1c12d20d96f56fbfa68d79bcf2103d8b3846bb.zip
external_mesa3d-eb1c12d20d96f56fbfa68d79bcf2103d8b3846bb.tar.gz
external_mesa3d-eb1c12d20d96f56fbfa68d79bcf2103d8b3846bb.tar.bz2
gallium: Add MULTISAMPLE_Z_RESOLVE cap
Resolving a multisampled depth texture into a single sampled texture is supported on >= SM4.1 hw. It is possible some previous hw support it. The ability was tested on radeonsi and nvc0. Apparently is is also supported for radeon >= r700. This patch adds the MULTISAMPLE_Z_RESOLVE cap and add it to the drivers. It is advertised for drivers for which it is sure the ability is supported. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Axel Davy <axel.davy@ens.fr>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r--src/gallium/docs/source/screen.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst
index b72a372..5d80908 100644
--- a/src/gallium/docs/source/screen.rst
+++ b/src/gallium/docs/source/screen.rst
@@ -243,6 +243,9 @@ The integer capabilities:
this, at least BASEVERTEX should be exposed separately too).
* ``PIPE_CAP_POLYGON_OFFSET_CLAMP``: If true, the driver implements support
for ``pipe_rasterizer_state::offset_clamp``.
+* ``PIPE_CAP_MULTISAMPLE_Z_RESOLVE``: Whether the driver supports blitting
+ a multisampled depth buffer into a single-sampled texture (or depth buffer).
+ Only the first sampled should be copied.
.. _pipe_capf: