diff options
author | Brian Paul <[email protected]> | 2017-06-09 07:45:02 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-06-09 08:51:56 -0600 |
commit | 81e15a5dea2e50135a83d249944e12537f6b152e (patch) | |
tree | 998d0a0c07f48a9fe7bec50f616cfbc7c853b8f2 /src/gallium | |
parent | 0ef39e588f92236f9e2fb1909a314c7eb70db8c2 (diff) |
tgsi: clarify TGSI_SEMANTIC_SAMPLEMASK documentation
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/docs/source/tgsi.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst index eceaa6d64f7..7fb963fde5a 100644 --- a/src/gallium/docs/source/tgsi.rst +++ b/src/gallium/docs/source/tgsi.rst @@ -3298,8 +3298,9 @@ TGSI_SEMANTIC_SAMPLEMASK """""""""""""""""""""""" For fragment shaders, this semantic label indicates that an output contains -the sample mask used to disable further sample processing -(i.e. gl_SampleMask). Only the X value is used, up to 32x MS. +the sample mask used to disable further sample processing. The output's +type is uint[4] but only the X component is used (i.e. gl_SampleMask[0]). +Each bit corresponds to one sample position (up to 32x MSAA is supported). TGSI_SEMANTIC_INVOCATIONID """""""""""""""""""""""""" |