mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
r300g: reserve CS space for index offset
This has caused CS overflow since the commit
671f1e1229.
TA3D works here again.
This commit is contained in:
parent
03b3c10774
commit
b1ceadf2ee
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ void r500_emit_draw_arrays_immediate(struct r300_context *r300,
|
|||
|
||||
dwords = 9 + count * vertex_size;
|
||||
|
||||
r300_reserve_cs_space(r300, r300_get_num_dirty_dwords(r300) + dwords);
|
||||
r300_reserve_cs_space(r300, r300_get_num_dirty_dwords(r300) + 2 + dwords);
|
||||
r300_emit_buffer_validate(r300, FALSE, NULL);
|
||||
r300_emit_dirty_state(r300);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue