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:
@@ -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) |
|
||||||
+--------------------+--------------+--------------------+--------------+
|
+--------------------+--------------+--------------------+--------------+
|
||||||
|
Reference in New Issue
Block a user