summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2022-03-14 09:17:08 +0100
committerMarge Bot <emma+marge@anholt.net>2022-03-17 16:44:42 +0000
commitdf40de91d9fcaae1f81d7579141a8ff7f66682ab (patch)
treea573a2abd1a858338d6080b2d35fcf9cf8ac43d1 /docs
parent2a8e11e10118b436af4de0ff4d97329f33a6dc08 (diff)
gallium: rename fine derivative cap
This is no longer TGSI specific, so let's rename it to reflect the reality. Reviewed-by: Adam Jackson <ajax@redhat.com> Acked-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15316>
Diffstat (limited to 'docs')
-rw-r--r--docs/gallium/screen.rst2
-rw-r--r--docs/gallium/tgsi.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/gallium/screen.rst b/docs/gallium/screen.rst
index 64674477b56..d6debf90f7a 100644
--- a/docs/gallium/screen.rst
+++ b/docs/gallium/screen.rst
@@ -249,7 +249,7 @@ The integer capabilities:
* ``PIPE_CAP_MULTI_DRAW_INDIRECT_PARAMS``: Whether the driver supports
taking the number of indirect draws from a separate parameter
buffer, see pipe_draw_indirect_info::indirect_draw_count.
-* ``PIPE_CAP_TGSI_FS_FINE_DERIVATIVE``: Whether the fragment shader supports
+* ``PIPE_CAP_FS_FINE_DERIVATIVE``: Whether the fragment shader supports
the FINE versions of DDX/DDY.
* ``PIPE_CAP_VENDOR_ID``: The vendor ID of the underlying hardware. If it's
not available one should return 0xFFFFFFFF.
diff --git a/docs/gallium/tgsi.rst b/docs/gallium/tgsi.rst
index 4ffddb344b2..4b8fea322c0 100644
--- a/docs/gallium/tgsi.rst
+++ b/docs/gallium/tgsi.rst
@@ -377,7 +377,7 @@ This instruction replicates its result.
.. opcode:: DDX, DDX_FINE - Derivative Relative To X
-The fine variant is only used when ``PIPE_CAP_TGSI_FS_FINE_DERIVATIVE`` is
+The fine variant is only used when ``PIPE_CAP_FS_FINE_DERIVATIVE`` is
advertised. When it is, the fine version guarantees one derivative per row
while DDX is allowed to be the same for the entire 2x2 quad.
@@ -394,7 +394,7 @@ while DDX is allowed to be the same for the entire 2x2 quad.
.. opcode:: DDY, DDY_FINE - Derivative Relative To Y
-The fine variant is only used when ``PIPE_CAP_TGSI_FS_FINE_DERIVATIVE`` is
+The fine variant is only used when ``PIPE_CAP_FS_FINE_DERIVATIVE`` is
advertised. When it is, the fine version guarantees one derivative per column
while DDY is allowed to be the same for the entire 2x2 quad.