freedreno/ir3: use lower_global_vars_to_local in cmdline compiler
authorRob Clark <robdclark@gmail.com>
Fri, 6 Apr 2018 12:54:25 +0000 (08:54 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 7 Apr 2018 15:33:41 +0000 (11:33 -0400)
commit684f7cd7e32d597982be04fb2c2dd0ee40fdae0b
tree39fff2e024936971dea00c1a6b599775151ca409
parenta3782a612f1a4aaf8d16bed2113c6c798afd3011
freedreno/ir3: use lower_global_vars_to_local in cmdline compiler

tgsi_to_nir emits things with arrays as global vars.. and nir->ir3 does
lower_locals_to_regs.  But nothing was lowering global to local, which
breaks compiling tgsi shaders

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c