[Mesa-dev] [PATCH] tgsi: clarify TGSI_SEMANTIC_SAMPLEMASK documentation

Marek Olšák maraeo at gmail.com
Fri Jun 9 14:27:57 UTC 2017


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Fri, Jun 9, 2017 at 3:56 PM, Brian Paul <brianp at vmware.com> wrote:
> ---
>  src/gallium/docs/source/tgsi.rst | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
> index eceaa6d..7fb963f 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
>  """"""""""""""""""""""""""
> --
> 1.9.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list