summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2016-08-20 22:40:33 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2016-08-23 18:30:49 -0400
commit9515d651f95d58feea64d1c4c989a216ff83f8b4 (patch)
treecb1f8b583da132b154452413e0da7c83a76c3cd0 /src/gallium/docs
parent528390021fdda0d8b39a50762003af743a22ff9f (diff)
downloadexternal_mesa3d-9515d651f95d58feea64d1c4c989a216ff83f8b4.zip
external_mesa3d-9515d651f95d58feea64d1c4c989a216ff83f8b4.tar.gz
external_mesa3d-9515d651f95d58feea64d1c4c989a216ff83f8b4.tar.bz2
gallium: add a cap to expose whether driver supports mixed color/zs bits
Some hardware can't render to color/depth buffers of mixed bitness. When that happens a fallback has to happen, but this allows the driver to express that this isn't an optimal scenario. The purpose of this is to remove such fbconfigs from the GLX/EGL config list. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r--src/gallium/docs/source/screen.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst
index 3199e3c..c00d012 100644
--- a/src/gallium/docs/source/screen.rst
+++ b/src/gallium/docs/source/screen.rst
@@ -347,6 +347,12 @@ The integer capabilities:
for ``pipe_rasterizer_state::offset_units_unscaled``.
* ``PIPE_CAP_VIEWPORT_SUBPIXEL_BITS``: Number of bits of subpixel precision for
floating point viewport bounds.
+* ``PIPE_CAP_MIXED_COLOR_DEPTH_BITS``: Whether there is non-fallback
+ support for color/depth format combinations that use a different
+ number of bits. For the purpose of this cap, Z24 is treated as
+ 32-bit. If set to off, that means that a B5G6R5 + Z24 or RGBA8 + Z16
+ combination will require a driver fallback, and should not be
+ advertised in the GLX/EGL config list.
.. _pipe_capf: