summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/docs/source/tgsi.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index 0dd2ac02401..d7817cc9d0e 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -3331,6 +3331,9 @@ contains the current sample id (i.e. gl_SampleID) as an unsigned int.
Only the X component is used. If per-sample shading is not enabled,
the result is (0, undef, undef, undef).
+Note that if the fragment shader uses this system value, the fragment
+shader is automatically executed at per sample frequency.
+
TGSI_SEMANTIC_SAMPLEPOS
"""""""""""""""""""""""
@@ -3340,6 +3343,9 @@ in the render target (i.e. gl_SamplePosition) when per-fragment shading
is in effect. Position values are in the range [0, 1] where 0.5 is
the center of the fragment.
+Note that if the fragment shader uses this system value, the fragment
+shader is automatically executed at per sample frequency.
+
TGSI_SEMANTIC_SAMPLEMASK
""""""""""""""""""""""""