summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAxel Davy <davyaxel0@gmail.com>2022-07-21 22:01:47 +0200
committerMarge Bot <emma+marge@anholt.net>2023-05-08 21:41:21 +0000
commitf0e9c225d87a0dff133616efd7eded7485615412 (patch)
treee98c33548db8d0253be262abc81bc02b5fd6021c /docs
parent3d5f3c517829cd76c8fb2216ce49b467c25b472d (diff)
downloadmesa-f0e9c225d87a0dff133616efd7eded7485615412.tar.gz
docs/gallium: Clarify PIPE_CAP_CLIP_PLANES
Drivers with PIPE_CAP_CLIP_PLANES set to 0, such as zink, ignore clip_plane_enable. Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Signed-off-by: Axel Davy <davyaxel0@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22644>
Diffstat (limited to 'docs')
-rw-r--r--docs/gallium/screen.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/gallium/screen.rst b/docs/gallium/screen.rst
index c2a2a7b1d5f..951b05898fc 100644
--- a/docs/gallium/screen.rst
+++ b/docs/gallium/screen.rst
@@ -606,7 +606,7 @@ The integer capabilities:
that back-facing primitives should use the back-side color as the FS input
color. If unset, mesa/st will lower it to gl_FrontFacing reads in the
fragment shader.
-* ``PIPE_CAP_CLIP_PLANES``: Driver supports user-defined clip-planes. 0 denotes none, 1 denotes MAX_CLIP_PLANES. > 1 overrides MAX.
+* ``PIPE_CAP_CLIP_PLANES``: Driver supports user-defined clip-planes. 0 denotes none, 1 denotes MAX_CLIP_PLANES. > 1 overrides MAX. When is 0, pipe_rasterizer_state::clip_plane_enable is unused.
* ``PIPE_CAP_MAX_VERTEX_BUFFERS``: Number of supported vertex buffers.
* ``PIPE_CAP_OPENCL_INTEGER_FUNCTIONS``: Driver supports extended OpenCL-style integer functions. This includes average, saturating addition, saturating subtraction, absolute difference, count leading zeros, and count trailing zeros.
* ``PIPE_CAP_INTEGER_MULTIPLY_32X16``: Driver supports integer multiplication between a 32-bit integer and a 16-bit integer. If the second operand is 32-bits, the upper 16-bits are ignored, and the low 16-bits are possibly sign extended as necessary.