From: Marek Olšák Date: Thu, 26 Mar 2020 01:13:48 +0000 (-0400) Subject: mesa: don't use <> for including internal headers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c42fa40a51efcf877915689bf170c67fff7e5600;p=mesa.git mesa: don't use <> for including internal headers Reviewed-by: Timothy Arceri --- diff --git a/src/mesa/drivers/dri/radeon/radeon_tile.h b/src/mesa/drivers/dri/radeon/radeon_tile.h index 6654c7db73d..c15023d8ce2 100644 --- a/src/mesa/drivers/dri/radeon/radeon_tile.h +++ b/src/mesa/drivers/dri/radeon/radeon_tile.h @@ -25,7 +25,7 @@ * */ -#include
+#include "main/formats.h" void tile_image(const void * src, unsigned src_pitch, void *dst, unsigned dst_pitch, diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi_private.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi_private.cpp index fd3941b3cc3..f259442cc37 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi_private.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi_private.cpp @@ -24,9 +24,9 @@ */ #include "st_glsl_to_tgsi_private.h" -#include -#include -#include +#include "tgsi/tgsi_info.h" +#include "mesa/program/prog_instruction.h" +#include "mesa/program/prog_print.h" static int swizzle_for_type(const glsl_type *type, int component = 0) { diff --git a/src/mesa/state_tracker/tests/test_glsl_to_tgsi_lifetime.cpp b/src/mesa/state_tracker/tests/test_glsl_to_tgsi_lifetime.cpp index 5b532a35776..4b78ccb356b 100644 --- a/src/mesa/state_tracker/tests/test_glsl_to_tgsi_lifetime.cpp +++ b/src/mesa/state_tracker/tests/test_glsl_to_tgsi_lifetime.cpp @@ -21,9 +21,9 @@ * DEALINGS IN THE SOFTWARE. */ -#include -#include -#include +#include "tgsi/tgsi_ureg.h" +#include "tgsi/tgsi_info.h" +#include "mesa/program/prog_instruction.h" #include #include