projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2efa7e9
)
cell: Additional changes to match changes in draw/draw_vertex_shader.c
author
Ian Romanick
<idr@us.ibm.com>
Tue, 26 Feb 2008 00:15:59 +0000
(16:15 -0800)
committer
Ian Romanick
<idr@us.ibm.com>
Tue, 26 Feb 2008 00:18:08 +0000
(16:18 -0800)
src/gallium/drivers/cell/ppu/cell_vertex_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/cell/ppu/cell_vertex_shader.c
b/src/gallium/drivers/cell/ppu/cell_vertex_shader.c
index 17141924be83a8c692ccdf05179d511d6c3b9055..f5c27852c144f524a4ff5f6f2e8a8d1d89d1eb9b 100644
(file)
--- a/
src/gallium/drivers/cell/ppu/cell_vertex_shader.c
+++ b/
src/gallium/drivers/cell/ppu/cell_vertex_shader.c
@@
-127,7
+127,7
@@
cell_vertex_shader_queue_flush(struct draw_context *draw)
for (/* empty */; j < SPU_VERTS_PER_BATCH; j++) {
vs->elts[j] = vs->elts[0];
- vs->vOut[j] =
vs->vOut[0]
;
+ vs->vOut[j] =
(uintptr_t) draw->vs.queue[i + j].vertex
;
}
vs->num_elts = n;
@@
-136,5
+136,6
@@
cell_vertex_shader_queue_flush(struct draw_context *draw)
cell_flush_int(& cell->pipe, PIPE_FLUSH_WAIT);
}
+ draw->vs.post_nr = draw->vs.queue_nr;
draw->vs.queue_nr = 0;
}