summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_render.c
diff options
context:
space:
mode:
authorVladimir Dergachev <volodya@freedesktop.org>2005-01-03 06:48:50 +0000
committerVladimir Dergachev <volodya@freedesktop.org>2005-01-03 06:48:50 +0000
commit63473a8e76dadc0f56e222866066bb4a242700d9 (patch)
tree410c206999e9a1a3ed606b7a605682a843e0b628 /src/mesa/drivers/dri/r300/r300_render.c
parent2fc9351ee768ce0c123ce1d9b210dc6958ab41b2 (diff)
Enable code to compute other constants that were used by R200 code.
Add fprintf to print these constants. Correct t->size computation, so it works now.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_render.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_render.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c
index c16a960a5d..5cec6eff56 100644
--- a/src/mesa/drivers/dri/r300/r300_render.c
+++ b/src/mesa/drivers/dri/r300/r300_render.c
@@ -585,11 +585,14 @@ static GLboolean r300_run_tex_render(GLcontext *ctx,
/* Use actual texture offset */
+ fprintf(stderr,"pp_border_color=%08x pp_cubic_faces=%08x format=%08x size=%08x format_x=%08x\n",
+ t->pp_border_color, t->pp_cubic_faces, t->format, t->size, t->format_x);
+
SINGLE_TEXTURE_PIPELINE.texture_unit[0].offset=rmesa->radeon.radeonScreen->fbLocation+t->offset;
#if 0
SINGLE_TEXTURE_PIPELINE.texture_unit[0].format=t->format;
- SINGLE_TEXTURE_PIPELINE.texture_unit[0].size=t->size;
#endif
+ SINGLE_TEXTURE_PIPELINE.texture_unit[0].size=t->size;
SINGLE_TEXTURE_PIPELINE.texture_unit[0].filter=t->filter;
SINGLE_TEXTURE_PIPELINE.texture_unit[0].unknown1=t->pitch; /* Unknown 1 is pitch ! */
SINGLE_TEXTURE_PIPELINE.texture_unit[0].filter=t->filter;