r600/sfn: fix cube to array lowering for LOD
authorGert Wollny <gert.wollny@collabora.com>
Sat, 6 May 2023 07:24:42 +0000 (09:24 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Sat, 6 May 2023 07:35:09 +0000 (09:35 +0200)
commit1ae09f3effd2f1353dc92f5b64428d479e1c9596
tree95613c5b57173db8674d441120be5c83507a2068
parent05a3eba09462a3a63802bcc87fa82dae36ad7a27
r600/sfn: fix cube to array lowering for LOD

Makes piglits related to texturequerylod and samplercubearray pass.

Fixes: 79ca456b4837 ("r600/sfn: rewrite NIR backend")
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22883>
src/gallium/drivers/r600/sfn/sfn_nir_lower_tex.cpp