diff options
author | Nicolai Haehnle <[email protected]> | 2007-03-21 00:56:38 +0100 |
---|---|---|
committer | Nicolai Haehnle <[email protected]> | 2007-03-21 00:58:02 +0100 |
commit | 4bafc547df4af0b560dcc6b72c0a6c37d7754abb (patch) | |
tree | 0df765a72ed2dea00b9c6e1c919ba05b509dd7be /src/mesa/drivers/dri/r300/r300_context.h | |
parent | cbe38dc0ceade8543d8a65f6f547d2890bb177f0 (diff) |
r300: Remove the program-global const_sin index
The index is no longer necessary to share constants between multiple
SIN/COS/SCS instructions inside a single fragment program, and storing
a tiny implementation detail like this in the fragment_program structure
itself was just nasty.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h index 68151d865e0..fe261dbbc6e 100644 --- a/src/mesa/drivers/dri/r300/r300_context.h +++ b/src/mesa/drivers/dri/r300/r300_context.h @@ -779,9 +779,6 @@ struct r300_fragment_program { int max_temp_idx; - /* the index of the sin constant is stored here */ - GLint const_sin[2]; - GLuint optimization; }; |