projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd81835
)
r200: fixup cube emit debug
author
Dave Airlie
<airlied@redhat.com>
Sat, 14 Feb 2009 10:13:04 +0000
(20:13 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sat, 14 Feb 2009 10:13:55 +0000
(20:13 +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 3d0ebff7c43191e14f5eec14052acab0aa604885..0366fc0fbe47593b11fe7d587699c3595cf51147 100644
(file)
--- a/
src/mesa/drivers/dri/r200/r200_state_init.c
+++ b/
src/mesa/drivers/dri/r200/r200_state_init.c
@@
-567,10
+567,9
@@
static void cube_emit(GLcontext *ctx, struct radeon_state_atom *atom)
radeonTexObj *t = r200->state.texture.unit[i].texobj;
GLuint size;
- BEGIN_BATCH_NO_AUTOSTATE(dwords);
+ BEGIN_BATCH_NO_AUTOSTATE(dwords
+ (2 * 5)
);
OUT_BATCH_TABLE(atom->cmd, 3);
- fprintf(stderr,"total size is %d\n", t->mt->totalsize);
if (t && !t->image_override) {
size = t->mt->totalsize / 6;
OUT_BATCH_RELOC(0, t->mt->bo, size, RADEON_GEM_DOMAIN_VRAM, 0, 0);