Mesa (master): gallium/docs: default Z texture tuple is (z,z,z,1) for OpenGL

Brian Paul brianp at kemper.freedesktop.org
Tue Feb 2 23:27:26 UTC 2010


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

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Feb  2 16:27:07 2010 -0700

gallium/docs: default Z texture tuple is (z,z,z,1) for OpenGL

---

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

diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index 4baf176..d8e81d6 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -1473,10 +1473,10 @@ For reference, OpenGL and Direct3D conventions are shown as well.
 | UV                 | XXX TBD      | (0, 0, 0, 1)       | (u, v, 1, 1) |
 |                    |              | [#envmap-bumpmap]_ |              |
 +--------------------+--------------+--------------------+--------------+
-| Z                  | XXX TBD      | (z, z, z, z)       | (0, z, 0, 1) |
+| Z                  | XXX TBD      | (z, z, z, 1)       | (0, z, 0, 1) |
 |                    |              | [#depth-tex-mode]_ |              |
 +--------------------+--------------+--------------------+--------------+
 
 .. [#envmap-bumpmap] http://www.opengl.org/registry/specs/ATI/envmap_bumpmap.txt
-.. [#depth-tex-mode] Z may be (z, z, z, 1) or (0, 0, 0, z) also; it changes
-   depending on GL_DEPTH_TEXTURE_MODE state.
+.. [#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.




More information about the mesa-commit mailing list