r200: emit colorpitch
This commit is contained in:
@@ -515,7 +515,7 @@ static void ctx_emit_cs(GLcontext *ctx, struct radeon_state_atom *atom)
|
||||
if (drb)
|
||||
dwords += 6;
|
||||
if (rrb)
|
||||
dwords += 6;
|
||||
dwords += 8;
|
||||
if (atom->cmd_size == CTX_STATE_SIZE_NEWDRM)
|
||||
dwords += 4;
|
||||
|
||||
@@ -546,7 +546,7 @@ static void ctx_emit_cs(GLcontext *ctx, struct radeon_state_atom *atom)
|
||||
OUT_BATCH_RELOC(0, rrb->bo, 0, 0, RADEON_GEM_DOMAIN_VRAM, 0);
|
||||
|
||||
OUT_BATCH(CP_PACKET0(RADEON_RB3D_COLORPITCH, 0));
|
||||
OUT_BATCH(cbpitch);
|
||||
OUT_BATCH_RELOC(cbpitch, rrb->bo, cbpitch, 0, RADEON_GEM_DOMAIN_VRAM, 0);
|
||||
}
|
||||
|
||||
if (atom->cmd_size == CTX_STATE_SIZE_NEWDRM) {
|
||||
|
||||
Reference in New Issue
Block a user