aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_fragprog.c
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2009-04-18 12:39:13 +0200
committerDave Airlie <[email protected]>2009-04-19 22:14:56 +1000
commit300661d12a1f0ab6c81b087a2ca8c4655abf7066 (patch)
tree6e05b28eeed9d3408237244e4cec5f74b68aebfb /src/mesa/drivers/dri/r300/r300_fragprog.c
parent155cc1647fb7ec488fb1d93ba68bc2523ffee381 (diff)
r300: more r300/r500 unification
reuse insert_WPOS_trailer function
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_fragprog.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_fragprog.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog.c b/src/mesa/drivers/dri/r300/r300_fragprog.c
index a8b885a4c6d..13a1c300ddf 100644
--- a/src/mesa/drivers/dri/r300/r300_fragprog.c
+++ b/src/mesa/drivers/dri/r300/r300_fragprog.c
@@ -263,10 +263,8 @@ static void update_params(GLcontext *ctx, struct gl_fragment_program *fp)
* All other code pieces that reference that input will be rewritten
* to read from a newly allocated temporary.
*
- * \todo if/when r5xx supports the radeon_program architecture, this is a
- * likely candidate for code sharing.
*/
-static void insert_WPOS_trailer(struct r300_fragment_program_compiler *compiler)
+void insert_WPOS_trailer(struct r300_fragment_program_compiler *compiler)
{
GLuint InputsRead = compiler->fp->Base.Base.InputsRead;