From 8d0ec5b8a6fcf4ac14cb0a2346185aa24207c7d5 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Mon, 9 Mar 2020 14:17:41 +0100 Subject: [PATCH] gallium: Add forgotten docs for new CAPs related to transform feedback MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit These three caps were missing docs. Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig Reviewed-by: Marek Olšák Tested-by: Marge Bot Part-of: --- src/gallium/docs/source/screen.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index 6c4a1dd1abf..9d4b451bf5a 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -568,6 +568,9 @@ The integer capabilities: * ``PIPE_CAP_OPENCL_INTEGER_FUNCTIONS``: Driver supports extended OpenCL-style integer functions. This includes averge, saturating additiong, 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. * ``PIPE_CAP_NIR_IMAGES_AS_DEREF``: Whether NIR image load/store intrinsics should be nir_intrinsic_image_deref_* instead of nir_intrinsic_image_*. Defaults to true. +* ``PIPE_CAP_PACKED_STREAM_OUTPUT``: Driver supports packing optimization for stream output (e.g. GL transform feedback captured variables). Defaults to true. +* ``PIPE_CAP_VIEWPORT_TRANSFORM_LOWERED``: Driver needs the nir_lower_viewport_transform pass to be enabled. This also means that the gl_Position value is modified and should be lowered for transform feedback, if needed. Defaults to false. +* ``PIPE_CAP_PSIZ_CLAMPED``: Driver needs for the point size to be clamped. Additionally, the gl_PointSize has been modified and its value should be lowered for transform feedback, if needed. Defaults to false. .. _pipe_capf: -- 2.30.2