diff options
author | Dave Airlie <airliedfreedesktop.org> | 2004-07-15 10:51:17 +0000 |
---|---|---|
committer | Dave Airlie <airliedfreedesktop.org> | 2004-07-15 10:51:17 +0000 |
commit | 84e6b16d8fcaaf676474488d369d2df0c2117160 (patch) | |
tree | e4b6e2b64201a30cc7c7c38b99043695e15738de | |
parent | c058917343e51610ddc4f1ad32e3f02d7c131129 (diff) |
add debugging for compresssed textures
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_tex.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tex.c b/src/mesa/drivers/dri/i915/intel_tex.c index 42505725e8a..4e22d7e3f77 100644 --- a/src/mesa/drivers/dri/i915/intel_tex.c +++ b/src/mesa/drivers/dri/i915/intel_tex.c @@ -617,6 +617,13 @@ static void intelUploadTexImage( intelContextPtr intel, GLubyte *src = (GLubyte *)image->Data; GLuint j; + if (INTEL_DEBUG & DEBUG_TEXTURE) + fprintf(stderr, + "Upload image %dx%dx%d offset %xm row_len %x " + "pitch %x depth_pitch %x\n", + image->Width, image->Height, image->Depth, offset, + row_len, t->Pitch, t->depth_pitch); + switch(image->IntFormat) { case GL_COMPRESSED_RGB_FXT1_3DFX: |