projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeaf2cf
)
draw llvm: iterate with the correct stop over the outputs
author
Zack Rusin
<zackr@vmware.com>
Tue, 6 Apr 2010 16:07:33 +0000
(12:07 -0400)
committer
Zack Rusin
<zackr@vmware.com>
Tue, 6 Apr 2010 16:07:33 +0000
(12:07 -0400)
it's whatever the var step is (4 usually) not an unconditional 1
src/gallium/auxiliary/draw/draw_llvm.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_llvm.c
b/src/gallium/auxiliary/draw/draw_llvm.c
index eac5e917d5b2ed07439b1b4a73805752693ba4d1..021662e75e05daa5cdc6ef9a90524812a38f1b3d 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_llvm.c
+++ b/
src/gallium/auxiliary/draw/draw_llvm.c
@@
-634,8
+634,7
@@
draw_llvm_generate(struct draw_llvm *llvm)
draw->vs.vertex_shader->info.num_outputs,
max_vertices);
- io_itr = LLVMBuildAdd(builder, io_itr,
- LLVMConstInt(LLVMInt32Type(), 1, 0), "");
+ io_itr = LLVMBuildAdd(builder, io_itr, step, "");
}
lp_build_loop_end_cond(builder, end, step, LLVMIntUGE, &lp_loop);