mesa: move ONE_DIV_SQRT_LN2 to prog_statevars.c
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -188,10 +188,6 @@ static inline GLuint CPU_TO_LE32(GLuint x)
|
|||||||
# define LONGSTRING __extension__
|
# define LONGSTRING __extension__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef ONE_DIV_SQRT_LN2
|
|
||||||
#define ONE_DIV_SQRT_LN2 (1.201122408786449815)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef FLT_MAX_EXP
|
#ifndef FLT_MAX_EXP
|
||||||
#define FLT_MAX_EXP 128
|
#define FLT_MAX_EXP 128
|
||||||
#endif
|
#endif
|
||||||
|
@@ -41,6 +41,9 @@
|
|||||||
#include "main/samplerobj.h"
|
#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
|
* 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>
|
* and return it in <value>. Usually, four values are returned in <value>
|
||||||
|
Reference in New Issue
Block a user