radeonsi: add checks for a NULL pixel shader
[mesa.git] / src / glsl / lower_instructions.cpp
index 4779de059adda963730f2f2fe4fde35faeff8490..845cfff36480c661726c0057e2bf58e28f054fde 100644 (file)
  * Converts double trunc, ceil, floor, round to fract
  */
 
-#include "main/core.h" /* for M_LOG2E */
+#include "c99_math.h"
 #include "program/prog_instruction.h" /* for swizzle */
 #include "glsl_types.h"
 #include "ir.h"