mesa: move ONE_DIV_SQRT_LN2 to prog_statevars.c

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Brian Paul 2015-02-26 11:34:23 -07:00
parent cbf788a348
commit 20dc94ba3c
2 changed files with 3 additions and 4 deletions

View File

@ -188,10 +188,6 @@ static inline GLuint CPU_TO_LE32(GLuint x)
# define LONGSTRING __extension__
#endif
#ifndef ONE_DIV_SQRT_LN2
#define ONE_DIV_SQRT_LN2 (1.201122408786449815)
#endif
#ifndef FLT_MAX_EXP
#define FLT_MAX_EXP 128
#endif

View File

@ -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>