summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_fragprog.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2005-07-20 23:24:55 +0000
committerEric Anholt <anholt@FreeBSD.org>2005-07-20 23:24:55 +0000
commit3e8efc3753e0aa248ba91f42a05a8794e4343f3d (patch)
treeeced5ae23ee3c0d95a446d405fe7b6d5f33b4a83 /src/mesa/drivers/dri/r300/r300_fragprog.h
parentaeb0ee771b1ba82231a2d6caf8fb3371ad0e59ec (diff)
Clean up warnings in r300 code by making some symbols static, adding prototypes
for others, and being cleaner with types in fragment/vertex program structures. One warning in r300_shader.c is still concerning.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_fragprog.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_fragprog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog.h b/src/mesa/drivers/dri/r300/r300_fragprog.h
index b60f674335..ed318eb6a7 100644
--- a/src/mesa/drivers/dri/r300/r300_fragprog.h
+++ b/src/mesa/drivers/dri/r300/r300_fragprog.h
@@ -43,5 +43,7 @@ typedef struct _pfs_reg_t {
#define PFS_FLAG_SAT (1 << 0)
#define PFS_FLAG_ABS (1 << 1)
-#endif
+extern void translate_fragment_shader(struct r300_fragment_program *rp);
+
+#endif /* __R300_FRAGPROG_H_ */