docs/tgsi: Specify that depth texture fetches are replicated
authorAsahi Lina <lina@asahilina.net>
Fri, 7 Apr 2023 14:14:24 +0000 (23:14 +0900)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Jul 2023 23:21:36 +0000 (23:21 +0000)
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 <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22361>

docs/gallium/tgsi.rst

index 0ed91be..047ef0c 100644 (file)
@@ -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      |