projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15ca9d1
)
r600g: compute needed CS space for vertex buffers correctly
author
Marek Olšák
<maraeo@gmail.com>
Sun, 15 Jul 2012 13:26:14 +0000
(15:26 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 15 Jul 2012 13:26:14 +0000
(15:26 +0200)
src/gallium/drivers/r600/r600_state_common.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state_common.c
b/src/gallium/drivers/r600/r600_state_common.c
index be3d1014b6ff5a6813eb35675b8173f97171e57e..3c42a44764312b060241540c33c16a2f1bacf672 100644
(file)
--- a/
src/gallium/drivers/r600/r600_state_common.c
+++ b/
src/gallium/drivers/r600/r600_state_common.c
@@
-413,7
+413,7
@@
void r600_set_vertex_buffers(struct pipe_context *ctx, unsigned count,
util_copy_vertex_buffers(rctx->vertex_buffer, &rctx->nr_vertex_buffers, buffers, count);
r600_inval_vertex_cache(rctx);
- state->atom.num_dw = (rctx->chip_class >= EVERGREEN ? 12 : 1
0
) *
+ state->atom.num_dw = (rctx->chip_class >= EVERGREEN ? 12 : 1
1
) *
rctx->nr_vertex_buffers;
for (i = 0 ; i < rctx->nr_vertex_buffers; i++) {
state->dirty_mask |= 1 << i;