projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2f8162
)
draw: Fix vertex buffer indexation.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 8 Apr 2010 10:00:42 +0000
(11:00 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 8 Apr 2010 10:00:42 +0000
(11:00 +0100)
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 ef93da76f5a314ec5f543a640c293a6e97106b6e..122e7bafe0273e0491a499dcbdeeda7af8539a0a 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_llvm.c
+++ b/
src/gallium/auxiliary/draw/draw_llvm.c
@@
-662,7
+662,7
@@
draw_llvm_generate(struct draw_llvm *llvm, struct draw_llvm_variant *variant)
velem->vertex_buffer_index,
0);
LLVMValueRef vb = LLVMBuildGEP(builder, vb_ptr,
- &vb_index,
0
, "");
+ &vb_index,
1
, "");
generate_fetch(builder, vbuffers_ptr,
&aos_attribs[j][i], velem, vb, true_index);
}