projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36ea81d
)
glsl: #include c99_math.h instead of core.h
author
Brian Paul
<brianp@vmware.com>
Tue, 24 Feb 2015 23:42:43 +0000
(16:42 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 26 Feb 2015 15:38:38 +0000
(08:38 -0700)
We only need the M_LOG2E definition.
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/glsl/lower_instructions.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/lower_instructions.cpp
b/src/glsl/lower_instructions.cpp
index 4779de059adda963730f2f2fe4fde35faeff8490..845cfff36480c661726c0057e2bf58e28f054fde 100644
(file)
--- a/
src/glsl/lower_instructions.cpp
+++ b/
src/glsl/lower_instructions.cpp
@@
-124,7
+124,7
@@
* Converts double trunc, ceil, floor, round to fract
*/
-#include "
main/core.h" /* for M_LOG2E */
+#include "
c99_math.h"
#include "program/prog_instruction.h" /* for swizzle */
#include "glsl_types.h"
#include "ir.h"