mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
r200: fix CS section size mismatch (bug 21565)
This commit is contained in:
parent
f616995e5e
commit
b2577937b6
1 changed files with 2 additions and 0 deletions
|
|
@ -505,6 +505,8 @@ static void ctx_emit_cs(GLcontext *ctx, struct radeon_state_atom *atom)
|
|||
dwords += 6;
|
||||
if (rrb)
|
||||
dwords += 6;
|
||||
if (atom->cmd_size == CTX_STATE_SIZE_NEWDRM)
|
||||
dwords += 4;
|
||||
|
||||
/* output the first 7 bytes of context */
|
||||
BEGIN_BATCH_NO_AUTOSTATE(dwords);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue