Mesa (master): gallium/docs: R and RG texture swizzles.

Corbin Simpson csimpson at kemper.freedesktop.org
Wed Jun 16 18:59:03 PDT 2010


Module: Mesa
Branch: master
Commit: 92867dcc42089a71031d1d49f574dc64af9387de
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=92867dcc42089a71031d1d49f574dc64af9387de

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Wed Jun 16 16:56:55 2010 -0700

gallium/docs: R and RG texture swizzles.

We *did* reach an agreement on this a few months ago, and now the docs
reflect it. However, we never got around to UV and Z...

---

 src/gallium/docs/source/tgsi.rst |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index 411dce8..03f27cd 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -1420,9 +1420,9 @@ well.
 +--------------------+--------------+--------------------+--------------+
 | Texture Components | Gallium      | OpenGL             | Direct3D 9   |
 +====================+==============+====================+==============+
-| R                  | XXX TBD      | (r, 0, 0, 1)       | (r, 1, 1, 1) |
+| R                  | (r, 0, 0, 1) | (r, 0, 0, 1)       | (r, 1, 1, 1) |
 +--------------------+--------------+--------------------+--------------+
-| RG                 | XXX TBD      | (r, g, 0, 1)       | (r, g, 1, 1) |
+| RG                 | (r, g, 0, 1) | (r, g, 0, 1)       | (r, g, 1, 1) |
 +--------------------+--------------+--------------------+--------------+
 | RGB                | (r, g, b, 1) | (r, g, b, 1)       | (r, g, b, 1) |
 +--------------------+--------------+--------------------+--------------+



More information about the mesa-commit mailing list