aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_constant_expression.cpp
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2015-12-01 23:07:08 +0000
committerJose Fonseca <[email protected]>2015-12-02 07:51:04 +0000
commit56aff6bb4eafe35ba301f5d60027377abc4cfd9f (patch)
treeab4fb5d62248754462ebfc00e0197b66bec11817 /src/glsl/ir_constant_expression.cpp
parent51564f04b77e6d29a888a4fbd83d96de062ac634 (diff)
Remove Sun CC specific code.
Reviewed-by: Matt Turner <[email protected]> Acked-by: Alan Coopersmith <[email protected]>
Diffstat (limited to 'src/glsl/ir_constant_expression.cpp')
-rw-r--r--src/glsl/ir_constant_expression.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/glsl/ir_constant_expression.cpp b/src/glsl/ir_constant_expression.cpp
index 67ed3605a8c..ef705851613 100644
--- a/src/glsl/ir_constant_expression.cpp
+++ b/src/glsl/ir_constant_expression.cpp
@@ -41,14 +41,6 @@
#include "glsl_types.h"
#include "program/hash_table.h"
-#if defined(__SUNPRO_CC) && !defined(isnormal)
-#include <ieeefp.h>
-static int isnormal(double x)
-{
- return fpclass(x) == FP_NORMAL;
-}
-#endif
-
static float
dot_f(ir_constant *op0, ir_constant *op1)
{