mesa: move ONE_DIV_SQRT_LN2 to prog_statevars.c
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
cbf788a348
commit
20dc94ba3c
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue