From 43d66c8c2d4d3d4dee1309856b6ce6c5393682e5 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 8 Apr 2018 13:13:08 -0400 Subject: mesa: include mtypes.h less - remove mtypes.h from most header files - add main/menums.h for often used definitions - remove main/core.h v2: fix radv build Reviewed-by: Brian Paul --- src/mesa/program/prog_execute.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/program/prog_execute.h') diff --git a/src/mesa/program/prog_execute.h b/src/mesa/program/prog_execute.h index 3603e3bdddf..ef04087301e 100644 --- a/src/mesa/program/prog_execute.h +++ b/src/mesa/program/prog_execute.h @@ -26,8 +26,10 @@ #define PROG_EXECUTE_H #include "main/config.h" -#include "main/mtypes.h" +#include "main/glheader.h" +#include "compiler/shader_enums.h" +struct gl_context; typedef void (*FetchTexelLodFunc)(struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, GLuint unit, GLfloat color[4]); -- cgit v1.2.3