OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63d7a2f
)
r200: emit colorpitch
author
Dave Airlie
<airlied@linux.ie>
Wed, 5 Aug 2009 01:26:29 +0000
(11:26 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Wed, 5 Aug 2009 01:26:29 +0000
(11:26 +1000)
src/mesa/drivers/dri/r200/r200_state_init.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_state_init.c
b/src/mesa/drivers/dri/r200/r200_state_init.c
index
78a0697
..
78ad5ba
100644
(file)
--- a/
src/mesa/drivers/dri/r200/r200_state_init.c
+++ b/
src/mesa/drivers/dri/r200/r200_state_init.c
@@
-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) {