summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2021-05-21 07:17:34 -0400
committerMarge Bot <eric+marge@anholt.net>2021-06-23 03:13:41 +0000
commitf8ff6eb78b749fa3f0e8492232193d8843187dfe (patch)
tree4ebfda2c171148651a249274a38e26f7a6b8df54 /docs
parentc8e674d4e391a517103b0da6480f1fe0a7c36a11 (diff)
gallium: add a pipe cap for performing automatic prim type conversion
drivers can now export a bitmask of the primitive types they support, and all others will be automatically be rewritten the default value is set to all primitive types supported to preserve existing behavior Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10973>
Diffstat (limited to 'docs')
-rw-r--r--docs/gallium/screen.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/gallium/screen.rst b/docs/gallium/screen.rst
index 4714c0417f5..19dd2948bb2 100644
--- a/docs/gallium/screen.rst
+++ b/docs/gallium/screen.rst
@@ -616,6 +616,7 @@ The integer capabilities:
* ``PIPE_CAP_SAMPLER_REDUCTION_MINMAX``: Driver supports EXT min/max sampler reduction.
* ``PIPE_CAP_SAMPLER_REDUCTION_MINMAX_ARB``: Driver supports ARB min/max sampler reduction with format queries.
* ``PIPE_CAP_EMULATE_NONFIXED_PRIMITIVE_RESTART``: Driver requests all draws using a non-fixed restart index to be rewritten to use a fixed restart index.
+* ``PIPE_CAP_SUPPORTED_PRIM_MODES``: A bitmask of the ``pipe_prim_type`` enum values that the driver can natively support.
.. _pipe_capf: