diff options
author | Zack Rusin <[email protected]> | 2013-04-09 05:01:54 -0700 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-04-10 12:33:59 -0700 |
commit | d56f2d52675397610717875c4a2a5edb04e2c997 (patch) | |
tree | b18c21d14710c07924f7ceebf9a35aba10dd638c /src/gbm/main/backend.c | |
parent | c1cd19c3b8339a48024e381515806186b8056256 (diff) |
gallivm: fix loops and conditionals within GS
We were using simple temporaries, without using alloca or phi
nodes which meant that on every iteration of the loop our
temporaries, which were holding the number of vertices and
primitives which were emitted, were being reset to zero. Now
we're using alloca to allocate those variables to preserve
them across conditionals.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gbm/main/backend.c')
0 files changed, 0 insertions, 0 deletions