summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_context.h
diff options
context:
space:
mode:
authorVladimir Dergachev <volodya@freedesktop.org>2005-02-03 17:48:32 +0000
committerVladimir Dergachev <volodya@freedesktop.org>2005-02-03 17:48:32 +0000
commitc326f9ffae6992ceb499106518f7d8661c50fa81 (patch)
tree92be0666fe6beedace4d6b5a49cb0187aefac182 /src/mesa/drivers/dri/r300/r300_context.h
parent54b03eefda5288d96f5f9bf46b7b3ed74e27566b (diff)
Start beginning of pixel shader generator..
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h
index 37c58a0f2f..db708cc10f 100644
--- a/src/mesa/drivers/dri/r300/r300_context.h
+++ b/src/mesa/drivers/dri/r300/r300_context.h
@@ -59,8 +59,11 @@ typedef struct r300_context *r300ContextPtr;
#define WARN_ONCE(a) { \
static int warn##__LINE__=1; \
if(warn##__LINE__){ \
- fprintf(stderr, "%s:%s line %d ***WARN_ONCE*** " a, \
+ fprintf(stderr, "*********************************WARN_ONCE*********************************\n"); \
+ fprintf(stderr, "File %s function %s line %d\n", \
__FILE__, __FUNCTION__, __LINE__); \
+ fprintf(stderr, a);\
+ fprintf(stderr, "***************************************************************************\n"); \
warn##__LINE__=0;\
} \
}