summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_context.h
diff options
context:
space:
mode:
authorRune Peterson <rune@megahurts.dk>2007-02-14 23:10:52 +0100
committerJerome Glisse <glisse@freedesktop.org>2007-02-14 23:10:52 +0100
commite4c772bead57c0190f74f1fa43dd129e170567f7 (patch)
treedfe32a524c09a2af2e3f8df9b67c444f50cb3db4 /src/mesa/drivers/dri/r300/r300_context.h
parent1e2b46963595e02172b4d651cc8a219e9f5c8176 (diff)
r300: Fix cos & add scs to fragment program.
So this do : - Fixes COS. - Does range reductions for SIN & COS. - Adds SCS. - removes the optimized version of SIN & COS. - tweaked weight (should help on precision). - fixed a copy paste typo in emit_arith().
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h
index b140235159..48b50bca65 100644
--- a/src/mesa/drivers/dri/r300/r300_context.h
+++ b/src/mesa/drivers/dri/r300/r300_context.h
@@ -731,7 +731,7 @@ struct r300_fragment_program {
int max_temp_idx;
/* the index of the sin constant is stored here */
- GLint const_sin;
+ GLint const_sin[2];
GLuint optimization;
};