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: <mesa/mesa!14360>
Loading
Please register or sign in to comment