summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_constant_expressions.py
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/nir/nir_constant_expressions.py
parent51564f04b77e6d29a888a4fbd83d96de062ac634 (diff)
Remove Sun CC specific code.
Reviewed-by: Matt Turner <[email protected]> Acked-by: Alan Coopersmith <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_constant_expressions.py')
-rw-r--r--src/glsl/nir/nir_constant_expressions.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/glsl/nir/nir_constant_expressions.py b/src/glsl/nir/nir_constant_expressions.py
index b16ef503c92..32784f6398d 100644
--- a/src/glsl/nir/nir_constant_expressions.py
+++ b/src/glsl/nir/nir_constant_expressions.py
@@ -32,14 +32,6 @@ template = """\
#include "util/half_float.h"
#include "nir_constant_expressions.h"
-#if defined(__SUNPRO_CC)
-#include <ieeefp.h>
-static int isnormal(double x)
-{
- return fpclass(x) == FP_NORMAL;
-}
-#endif
-
/**
* Evaluate one component of packSnorm4x8.
*/