freedreno/ir3: don't ignore local vars
authorRob Clark <robclark@freedesktop.org>
Sat, 7 Nov 2015 13:46:02 +0000 (08:46 -0500)
committerRob Clark <robclark@freedesktop.org>
Sat, 30 Jan 2016 17:27:57 +0000 (12:27 -0500)
commitf20cf22b54dfda13324aa714debe55a8f093640d
tree989bdbe0cea84479de3bfb52eaf92c834d254b82
parent8039a2a6b377f5d2a047fda82f6eaaa0a6a79a94
freedreno/ir3: don't ignore local vars

With glsl_to_nir we end up with local variables, instead of global, for
arrays.

Note that we'll eventually have to do something more clever, I think,
when we support multiple functions, but that will probably take some
work in a few places.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c