summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/i965simple/brw_sf.c8
-rw-r--r--src/mesa/pipe/i965simple/brw_sf_emit.c14
2 files changed, 11 insertions, 11 deletions
diff --git a/src/mesa/pipe/i965simple/brw_sf.c b/src/mesa/pipe/i965simple/brw_sf.c
index 362196a0d1..b89b2e4087 100644
--- a/src/mesa/pipe/i965simple/brw_sf.c
+++ b/src/mesa/pipe/i965simple/brw_sf.c
@@ -175,7 +175,7 @@ static void upload_sf_prog( struct brw_context *brw )
//int semantic = parse.FullToken.FullDeclaration.Semantic.SemanticName;
//int semantic_index = parse.FullToken.FullDeclaration.Semantic.SemanticIndex;
- _mesa_printf("fs input %d..%d interp mode %d\n", first, last, interp_mode);
+ fprintf(stderr, "fs input %d..%d interp mode %d\n", first, last, interp_mode);
switch (interp_mode) {
case TGSI_INTERPOLATE_CONSTANT:
@@ -213,9 +213,9 @@ static void upload_sf_prog( struct brw_context *brw )
key.linear_mask |= 1;
key.const_mask <<= 1;
- _mesa_printf("key.persp_mask: %x\n", key.persp_mask);
- _mesa_printf("key.linear_mask: %x\n", key.linear_mask);
- _mesa_printf("key.const_mask: %x\n", key.const_mask);
+ fprintf(stderr, "key.persp_mask: %x\n", key.persp_mask);
+ fprintf(stderr, "key.linear_mask: %x\n", key.linear_mask);
+ fprintf(stderr, "key.const_mask: %x\n", key.const_mask);
// key.do_point_sprite = brw->attribs.Point->PointSprite;
diff --git a/src/mesa/pipe/i965simple/brw_sf_emit.c b/src/mesa/pipe/i965simple/brw_sf_emit.c
index bc3878a93a..6ff5254ff7 100644
--- a/src/mesa/pipe/i965simple/brw_sf_emit.c
+++ b/src/mesa/pipe/i965simple/brw_sf_emit.c
@@ -137,8 +137,8 @@ static boolean calculate_masks( struct brw_sf_compile *c,
unsigned persp_mask = c->key.persp_mask;
unsigned linear_mask = c->key.linear_mask;
- _mesa_printf("persp_mask: %x\n", persp_mask);
- _mesa_printf("linear_mask: %x\n", linear_mask);
+ fprintf(stderr, "persp_mask: %x\n", persp_mask);
+ fprintf(stderr, "linear_mask: %x\n", linear_mask);
*pc_persp = 0;
*pc_linear = 0;
@@ -162,9 +162,9 @@ static boolean calculate_masks( struct brw_sf_compile *c,
*pc_linear |= 0xf0;
}
- _mesa_printf("pc: %x\n", *pc);
- _mesa_printf("pc_persp: %x\n", *pc_persp);
- _mesa_printf("pc_linear: %x\n", *pc_linear);
+ fprintf(stderr, "pc: %x\n", *pc);
+ fprintf(stderr, "pc_persp: %x\n", *pc_persp);
+ fprintf(stderr, "pc_linear: %x\n", *pc_linear);
return is_last_attr;
@@ -177,7 +177,7 @@ void brw_emit_tri_setup( struct brw_sf_compile *c )
struct brw_compile *p = &c->func;
unsigned i;
- _mesa_printf("%s START ==============\n", __FUNCTION__);
+ fprintf(stderr, "%s START ==============\n", __FUNCTION__);
c->nr_verts = 3;
alloc_regs(c);
@@ -250,7 +250,7 @@ void brw_emit_tri_setup( struct brw_sf_compile *c )
}
}
- _mesa_printf("%s DONE ==============\n", __FUNCTION__);
+ fprintf(stderr, "%s DONE ==============\n", __FUNCTION__);
}