[Mesa-dev] [PATCH 01/10] glsl: #include c99_math.h instead of core.h
Jose Fonseca
jfonseca at vmware.com
Thu Feb 26 04:09:16 PST 2015
On 26/02/15 01:29, Brian Paul wrote:
> We only need the M_LOG2E definition.
> ---
> src/glsl/lower_instructions.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/glsl/lower_instructions.cpp b/src/glsl/lower_instructions.cpp
> index 4779de0..845cfff 100644
> --- a/src/glsl/lower_instructions.cpp
> +++ b/src/glsl/lower_instructions.cpp
> @@ -124,7 +124,7 @@
> * 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"
>
Series looks good AFAICT. Nice seeing all these cleanups!
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
More information about the mesa-dev
mailing list