diff options
author | Brian Paul <[email protected]> | 2015-02-26 11:34:23 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-02-28 13:39:57 -0700 |
commit | 20dc94ba3c7306f9e89cc8bf02fb2431418d48d4 (patch) | |
tree | 574cd61009e9a7e0996672675f3d8d64da3010d2 /src/mesa/program | |
parent | cbf788a34835c9d41f27203d28f407ff469dd7aa (diff) |
mesa: move ONE_DIV_SQRT_LN2 to prog_statevars.c
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r-- | src/mesa/program/prog_statevars.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/program/prog_statevars.c b/src/mesa/program/prog_statevars.c index 80708f4e5fb..7e5537191c6 100644 --- a/src/mesa/program/prog_statevars.c +++ b/src/mesa/program/prog_statevars.c @@ -41,6 +41,9 @@ #include "main/samplerobj.h" +#define ONE_DIV_SQRT_LN2 (1.201122408786449815) + + /** * Use the list of tokens in the state[] array to find global GL state * and return it in <value>. Usually, four values are returned in <value> |