From: Brian Paul Date: Wed, 17 Jan 2018 04:44:43 +0000 (-0700) Subject: mesa: remove unneeded #includes of main/compiler.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02c0734adcb76fd7c0541d961b2c83196150ba2a;p=mesa.git mesa: remove unneeded #includes of main/compiler.h Reviewed-by: Nicolai Hähnle --- diff --git a/src/mesa/drivers/x11/glxapi.c b/src/mesa/drivers/x11/glxapi.c index e84e2386733..5017546c7e3 100644 --- a/src/mesa/drivers/x11/glxapi.c +++ b/src/mesa/drivers/x11/glxapi.c @@ -35,7 +35,6 @@ #include #include #include "main/glheader.h" -#include "main/compiler.h" #include "glapi/glapi.h" #include "glxapi.h" diff --git a/src/mesa/main/debug_output.h b/src/mesa/main/debug_output.h index 9d8be4f2273..63e3e7b48e4 100644 --- a/src/mesa/main/debug_output.h +++ b/src/mesa/main/debug_output.h @@ -29,7 +29,6 @@ #include #include -#include "compiler.h" #include "glheader.h" #include "mtypes.h" diff --git a/src/mesa/main/errors.h b/src/mesa/main/errors.h index 5ad5254ff1b..b784b117761 100644 --- a/src/mesa/main/errors.h +++ b/src/mesa/main/errors.h @@ -38,7 +38,6 @@ #include #include -#include "compiler.h" #include "glheader.h" #include "mtypes.h" diff --git a/src/mesa/main/fbobject.h b/src/mesa/main/fbobject.h index f52fd15526d..31d743d3fb5 100644 --- a/src/mesa/main/fbobject.h +++ b/src/mesa/main/fbobject.h @@ -26,7 +26,6 @@ #ifndef FBOBJECT_H #define FBOBJECT_H -#include "compiler.h" #include "glheader.h" #include diff --git a/src/mesa/main/formatquery.h b/src/mesa/main/formatquery.h index 66dcf736dcb..f23fafd8fb0 100644 --- a/src/mesa/main/formatquery.h +++ b/src/mesa/main/formatquery.h @@ -24,7 +24,6 @@ #ifndef FORMATQUERY_H #define FORMATQUERY_H -#include "compiler.h" #include "glheader.h" size_t diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index b81810fc893..2afa886782b 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -36,7 +36,6 @@ #include #include #include -#include "compiler.h" #ifdef __cplusplus extern "C" { diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h index b5075be4b86..7955bbb7ca6 100644 --- a/src/mesa/main/image.h +++ b/src/mesa/main/image.h @@ -28,7 +28,6 @@ #include "glheader.h" -#include "compiler.h" struct gl_context; struct gl_pixelstore_attrib; diff --git a/src/mesa/main/mm.c b/src/mesa/main/mm.c index 473e90fc2d5..5f0bfe96911 100644 --- a/src/mesa/main/mm.c +++ b/src/mesa/main/mm.c @@ -26,7 +26,6 @@ #include #include -#include "compiler.h" #include "mm.h" diff --git a/src/mesa/main/shaderobj.h b/src/mesa/main/shaderobj.h index 084848e220c..fedb4dc3dec 100644 --- a/src/mesa/main/shaderobj.h +++ b/src/mesa/main/shaderobj.h @@ -27,7 +27,6 @@ #define SHADEROBJ_H -#include "main/compiler.h" #include "main/glheader.h" #include "main/mtypes.h" #include "program/ir_to_mesa.h" diff --git a/src/mesa/main/tests/program_state_string.cpp b/src/mesa/main/tests/program_state_string.cpp index ddfdb49ee2c..64c43960f14 100644 --- a/src/mesa/main/tests/program_state_string.cpp +++ b/src/mesa/main/tests/program_state_string.cpp @@ -25,7 +25,6 @@ #include "GL/gl.h" #include "GL/glext.h" -#include "main/compiler.h" #include "program/prog_statevars.h" diff --git a/src/mesa/main/texobj.h b/src/mesa/main/texobj.h index f2d78aca0dc..dbac1fe8cb8 100644 --- a/src/mesa/main/texobj.h +++ b/src/mesa/main/texobj.h @@ -32,7 +32,6 @@ #define TEXTOBJ_H -#include "compiler.h" #include "glheader.h" #include "mtypes.h" #include "samplerobj.h" diff --git a/src/mesa/main/texstate.h b/src/mesa/main/texstate.h index 7c74329a64e..4f515e425a8 100644 --- a/src/mesa/main/texstate.h +++ b/src/mesa/main/texstate.h @@ -32,7 +32,6 @@ #define TEXSTATE_H -#include "compiler.h" #include "enums.h" #include "macros.h" #include "mtypes.h" diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 29198509a6c..ad1b701690b 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -30,7 +30,6 @@ */ #include -#include "main/compiler.h" #include "main/macros.h" #include "main/mtypes.h" #include "main/shaderapi.h" diff --git a/src/mesa/program/program.h b/src/mesa/program/program.h index 296fa40fbc1..0e105c35fc2 100644 --- a/src/mesa/program/program.h +++ b/src/mesa/program/program.h @@ -40,7 +40,6 @@ #ifndef PROGRAM_H #define PROGRAM_H -#include "main/compiler.h" #include "main/mtypes.h" diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index 7cf0e30dc30..49c30a3de3b 100644 --- a/src/mesa/swrast/s_context.h +++ b/src/mesa/swrast/s_context.h @@ -43,7 +43,6 @@ #ifndef S_CONTEXT_H #define S_CONTEXT_H -#include "main/compiler.h" #include "main/mtypes.h" #include "main/texcompress.h" #include "program/prog_execute.h" diff --git a/src/mesa/vbo/vbo_exec_draw.c b/src/mesa/vbo/vbo_exec_draw.c index 1524bbb405b..3aff97e6f11 100644 --- a/src/mesa/vbo/vbo_exec_draw.c +++ b/src/mesa/vbo/vbo_exec_draw.c @@ -29,7 +29,6 @@ #include #include "main/glheader.h" #include "main/bufferobj.h" -#include "main/compiler.h" #include "main/context.h" #include "main/enums.h" #include "main/state.h"