mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-07 14:48:17 +02:00
radeon: remove some debugging
This commit is contained in:
parent
8b56a86385
commit
9780127449
3 changed files with 1 additions and 10 deletions
|
|
@ -363,15 +363,8 @@ static void tex_emit(GLcontext *ctx, struct radeon_state_atom *atom)
|
|||
radeonTexObj *t = r200->state.texture.unit[i].texobj;
|
||||
|
||||
BEGIN_BATCH_NO_AUTOSTATE(dwords);
|
||||
fprintf(stderr,"atom state is %x, %x %x %x %x %x\n", atom->cmd[0],
|
||||
atom->cmd[1],
|
||||
atom->cmd[2],
|
||||
atom->cmd[3],
|
||||
atom->cmd[4],
|
||||
atom->cmd[5]);
|
||||
OUT_BATCH_TABLE(atom->cmd, 10);
|
||||
if (t && !t->image_override) {
|
||||
fprintf(stderr,"emitting reloc for %d\n", i);
|
||||
OUT_BATCH_RELOC(t->tile_bits, t->mt->bo, 0,
|
||||
RADEON_GEM_DOMAIN_VRAM, 0, 0);
|
||||
} else if (!t) {
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ void rcommonBeginBatch(radeonContextPtr rmesa,
|
|||
*/
|
||||
#define OUT_BATCH_RELOC(data, bo, offset, rd, wd, flags) \
|
||||
do { \
|
||||
if (offset) {\
|
||||
if (0 && offset) {\
|
||||
fprintf(stderr, "(%s:%s:%d) offset : %d\n",\
|
||||
__FILE__, __FUNCTION__, __LINE__, offset);\
|
||||
}\
|
||||
|
|
|
|||
|
|
@ -234,8 +234,6 @@ static int cs_process_relocs(struct radeon_cs *cs)
|
|||
relocs[i].base.bo, soffset, eoffset);
|
||||
return r;
|
||||
}
|
||||
fprintf(stderr, "validated %p [0x%08X, 0x%08X]\n",
|
||||
relocs[i].base.bo, soffset, eoffset);
|
||||
cs->packets[relocs[i].indices[j]] += soffset;
|
||||
if (cs->packets[relocs[i].indices[j]] >= eoffset) {
|
||||
radeon_bo_debug(relocs[i].base.bo, 12);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue