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...
This commit is contained in:
Corbin Simpson
2010-06-16 16:56:55 -07:00
parent e7d05f1f0d
commit 92867dcc42

View File

@@ -1420,9 +1420,9 @@ well.
+--------------------+--------------+--------------------+--------------+ +--------------------+--------------+--------------------+--------------+
| Texture Components | Gallium | OpenGL | Direct3D 9 | | 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) | | RGB | (r, g, b, 1) | (r, g, b, 1) | (r, g, b, 1) |
+--------------------+--------------+--------------------+--------------+ +--------------------+--------------+--------------------+--------------+