r300: Remove the program-global const_sin index
authorNicolai Haehnle <nhaehnle@gmail.com>
Tue, 20 Mar 2007 23:56:38 +0000 (00:56 +0100)
committerNicolai Haehnle <nhaehnle@gmail.com>
Tue, 20 Mar 2007 23:58:02 +0000 (00:58 +0100)
commit4bafc547df4af0b560dcc6b72c0a6c37d7754abb
tree0df765a72ed2dea00b9c6e1c919ba05b509dd7be
parentcbe38dc0ceade8543d8a65f6f547d2890bb177f0
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.
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_fragprog.c