summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp
index 1b595aec364..500ab8915de 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp
@@ -1327,11 +1327,7 @@ GCRA::simplify()
bestScore = score;
}
}
-#if __cplusplus >= 201103L
- if (std::isinf(bestScore)) {
-#else
if (isinf(bestScore)) {
-#endif
ERROR("no viable spill candidates left\n");
break;
}