//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:
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;
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;
*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;
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);
}
}
- _mesa_printf("%s DONE ==============\n", __FUNCTION__);
+ fprintf(stderr, "%s DONE ==============\n", __FUNCTION__);
}