[Mesa-dev] [PATCH 2/2] gallium/docs: minor clarification for TXQ instruction

Ilia Mirkin imirkin at alum.mit.edu
Thu Jul 10 08:46:21 PDT 2014


On Thu, Jul 10, 2014 at 11:43 AM, Brian Paul <brianp at vmware.com> wrote:
> ---
>  src/gallium/docs/source/tgsi.rst |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
> index 8cbb3d8..c267b2c 100644
> --- a/src/gallium/docs/source/tgsi.rst
> +++ b/src/gallium/docs/source/tgsi.rst
> @@ -968,6 +968,8 @@ XXX doesn't look like most of the opcodes really belong here.
>    Also return the number of accessible levels (last_level - first_level + 1)
>    in W.
>
> +  For components that aren't used, the returned values are undefined.
> +

Perhaps I'm just not seeing something obvious... but what does this
mean? I'm reading this as "If you don't look at a component of the
return value, then unbeknownst to you, since you're not looking at it,
the value is undefined."

>  .. math::
>
>    lod = src0.x
> --
> 1.7.10.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list