commit | 4bb9c0a28a5f06341060353dba1a017d154d51a4 | [log] [tgz] |
---|---|---|
author | Emma Anholt <emma@anholt.net> | Wed Dec 29 19:23:14 2021 -0800 |
committer | Marge Bot <emma+marge@anholt.net> | Tue Jan 04 23:05:41 2022 +0000 |
tree | 9c91357ab8b613d311572defd88bc844a0c7ab81 | |
parent | daf59694aca61ad16e5a23a98e967361105111e4 [diff] |
nir_to_tgsi: Use the same address reg mappings as GLSL-to-TGSI did. It turns out r600 has a bunch of expectations about the Dimension being in ADDR[1].x, and sampler or atomic indirects being in ADDR[2].x. It's simpler to just use this static assignment than our dynamic one, anyway. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14360>