summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2010-02-12 15:02:32 +0100
committerMichal Krol <michal@vmware.com>2010-02-12 15:02:32 +0100
commitb35068e3cec6f61bddd0a8d51b834cf1394da369 (patch)
tree47615888bd1f7aa03ed82c77b746a1de758a7d94
parent3cbdbccd8f3e2c9c7e31d84630434d8f694e3ac4 (diff)
downloadmesa-gallium-float-1111-format.tar.gz
gallium/docs: Resolve texture conventions for R and RG formats.gallium-float-1111-format
-rw-r--r--src/gallium/docs/source/tgsi.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index c292cd37d5c..1af0c16d44c 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -1471,9 +1471,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) |
+--------------------+--------------+--------------------+--------------+
@@ -1494,6 +1494,8 @@ well.
| | | [#depth-tex-mode]_ | |
+--------------------+--------------+--------------------+--------------+
+(*) R32_1111_FLOAT and R32G32_1111_FLOAT follow Direct3D 9 rules.
+
.. [#envmap-bumpmap] http://www.opengl.org/registry/specs/ATI/envmap_bumpmap.txt
.. [#depth-tex-mode] the default is (z, z, z, 1) but may also be (0, 0, 0, z)
or (z, z, z, z) depending on the value of GL_DEPTH_TEXTURE_MODE.