summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_constant_expressions.py
diff options
context:
space:
mode:
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.
*/