gallium/tgsi: Add a helper for initializing ureg from a shader_info.
authorEric Anholt <eric@anholt.net>
Wed, 8 Jan 2020 19:25:35 +0000 (11:25 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 2 Sep 2020 16:58:44 +0000 (09:58 -0700)
This moves a bunch of code from glsl_to_tgsi that will be reused by
tgsi-to-nir.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6567>


No differences found