gallivm: implement indirect addressing over temporaries
authorZack Rusin <zackr@vmware.com>
Thu, 22 Apr 2010 22:36:07 +0000 (18:36 -0400)
committerZack Rusin <zackr@vmware.com>
Thu, 22 Apr 2010 22:36:07 +0000 (18:36 -0400)
commit021e0dc78b15fab29e761012860276c2597c8d8f
tree47358ee32a87554d55794b32ca865f955b32f6ff
parentded2374e67bdc2c24e868775d2ff77b39b339d56
gallivm: implement indirect addressing over temporaries

a bit more involved than indirect addressing over consts, but still
fairly reasonable. we allocate an array instead of individual alloca's,
and we do it only if the shader does indirect addressing.
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
src/gallium/drivers/llvmpipe/lp_state_fs.c