aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2020-03-01 21:55:59 -0500
committerIlia Mirkin <[email protected]>2020-03-02 20:00:52 -0500
commit11a06dfd4ba4351848422eba357a8b41dd3b78df (patch)
treeb738d2f2173f3ceb0b1e621843aa05f41aafda7c /src/gallium
parent1d3b0b908880029b06c0b54b8d32c53e7f4d5895 (diff)
st/mesa: allow TXB2/TXL2 to work with cube array shadow textures
It's a bit asymmetric, but it's such a contrived use-case, and not a lot of drivers will support it. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4014>
Diffstat (limited to 'src/gallium')
-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 e053e821ecd..1e80edb8f07 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -735,7 +735,8 @@ This instruction replicates its result.
Presumably shadow 2d arrays and shadow 3d targets could use
this encoding too, but this is not legal.
- shadow cube map arrays are neither possible nor required.
+ if the target is a shadow cube map array, the reference value is in
+ src1.y.
.. math::
@@ -826,7 +827,8 @@ This instruction replicates its result.
Presumably shadow 3d / 2d array / cube targets could use
this encoding too, but this is not legal.
- shadow cube map arrays are neither possible nor required.
+ if the target is a shadow cube map array, the reference value is in
+ src1.y.
.. math::