freedreno/ir3/nir: add variable-indexing support
authorRob Clark <robclark@freedesktop.org>
Wed, 8 Apr 2015 00:41:48 +0000 (20:41 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 11 Apr 2015 15:40:09 +0000 (11:40 -0400)
commit4cf4006674bd7c507688316e2033d77066c45c90
treef3af032e48a052c22f3dde450a837055b84b1d52
parent972ce757d7f521f9f867594fe5661b8074130821
freedreno/ir3/nir: add variable-indexing support

A bit fugly.. try and make this cleaner..  note if we hoist all the
get_addr() out of the loop we can drop the hashtable and just use
create_addr()..

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