mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 18:00:13 +01:00
r600g: compute needed CS space for vertex buffers correctly
This commit is contained in:
parent
15ca9d159e
commit
bc6bff7947
1 changed files with 1 additions and 1 deletions
|
|
@ -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 : 10) *
|
||||
state->atom.num_dw = (rctx->chip_class >= EVERGREEN ? 12 : 11) *
|
||||
rctx->nr_vertex_buffers;
|
||||
for (i = 0 ; i < rctx->nr_vertex_buffers; i++) {
|
||||
state->dirty_mask |= 1 << i;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue