freedreno: a2xx: use nir_lower_io for TGSI shaders
authorJonathan Marek <jonathan@marek.ca>
Wed, 10 Apr 2019 18:11:26 +0000 (14:11 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 23 Apr 2019 17:13:32 +0000 (17:13 +0000)
commit7f670ca5fd02ba617a95a7cfebaecfde23ea028f
tree88f56346602e666db48a39bb083989ee72bc2487
parentbce4f11dbcf2c1afc91109d2e46f3b5eeb54fc2e
freedreno: a2xx: use nir_lower_io for TGSI shaders

Allows removing the load_deref/store_deref code in the compiler.

tgsi_to_nir now uses screen instead of options so we can simplify that too.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a2xx/fd2_program.c
src/gallium/drivers/freedreno/a2xx/ir2_nir.c