diff options
author | Zack Rusin <[email protected]> | 2010-04-22 18:36:07 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2010-04-22 18:36:07 -0400 |
commit | 021e0dc78b15fab29e761012860276c2597c8d8f (patch) | |
tree | 47358ee32a87554d55794b32ca865f955b32f6ff /src/gallium/auxiliary/draw/draw_llvm.c | |
parent | ded2374e67bdc2c24e868775d2ff77b39b339d56 (diff) |
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.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_llvm.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_llvm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c index 9d110317698..5e8bef4f5ea 100644 --- a/src/gallium/auxiliary/draw/draw_llvm.c +++ b/src/gallium/auxiliary/draw/draw_llvm.c @@ -252,7 +252,8 @@ generate_vs(struct draw_llvm *llvm, NULL /*pos*/, inputs, outputs, - NULL/*sampler*/); + NULL/*sampler*/, + &llvm->draw->vs.vertex_shader->info); } #if DEBUG_STORE |