summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/builtin_functions.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-10-14 11:02:18 -0700
committerIan Romanick <[email protected]>2017-01-20 15:41:23 -0800
commitaa38bf1e593eba3e65c4e10154410158d6d263c5 (patch)
treed569962d62d14b763ebc6690970b5b615eb286c2 /src/compiler/glsl/builtin_functions.cpp
parent8358e58f2534f7e60c452bed2adb628d75b055c3 (diff)
glsl: Move builtin_function related prototypes to a separate file
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/compiler/glsl/builtin_functions.cpp')
-rw-r--r--src/compiler/glsl/builtin_functions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/builtin_functions.cpp b/src/compiler/glsl/builtin_functions.cpp
index 0749ba1d448..307cc58a6ea 100644
--- a/src/compiler/glsl/builtin_functions.cpp
+++ b/src/compiler/glsl/builtin_functions.cpp
@@ -61,6 +61,7 @@
#include "glsl_parser_extras.h"
#include "program/prog_instruction.h"
#include <math.h>
+#include "builtin_functions.h"
#define M_PIf ((float) M_PI)
#define M_PI_2f ((float) M_PI_2)