Module: Mesa
Branch: main
Commit: 32a79e9be7103559092e9625fba41b5f39c8da6d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=32a79e9be7103559092e9625fba41b5f39c8da6d

Author: Asahi Lina <[email protected]>
Date:   Fri Apr  7 23:14:24 2023 +0900

docs/tgsi: Specify that depth texture fetches are replicated

This is what drivers do, and code like u_blitter expects this.

Commit 6cac9c748eb8 implied that this was already specified, but only
stencil actually was, depth was still listed as TBD. Let's actually
specify this for future reference.

Signed-off-by: Asahi Lina <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22361>

---

 docs/gallium/tgsi.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/gallium/tgsi.rst b/docs/gallium/tgsi.rst
index 0ed91bea1a0..047ef0c1310 100644
--- a/docs/gallium/tgsi.rst
+++ b/docs/gallium/tgsi.rst
@@ -3866,7 +3866,7 @@ well.
 | UV                 | XXX TBD      | (0, 0, 0, 1)       | (u, v, 1, 1) |
 |                    |              | [#envmap-bumpmap]_ |              |
 +--------------------+--------------+--------------------+--------------+
-| Z                  | XXX TBD      | (z, z, z, 1)       | (0, z, 0, 1) |
+| Z                  | (z, z, z, z) | (z, z, z, 1)       | (0, z, 0, 1) |
 |                    |              | [#depth-tex-mode]_ |              |
 +--------------------+--------------+--------------------+--------------+
 | S                  | (s, s, s, s) | unknown            | unknown      |

Reply via email to