intel/compiler: drop shader_info.h from compiler header

include it explicitly in the correct places

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14104>
This commit is contained in:
Dave Airlie 2021-12-07 16:41:19 +10:00 committed by Marge Bot
parent 9265d1d62d
commit 9105cf1955
6 changed files with 7 additions and 1 deletions

View File

@ -38,6 +38,7 @@
#include "util/u_upload_mgr.h"
#include "intel/compiler/brw_compiler.h"
#include "intel/compiler/brw_eu_defines.h"
#include "compiler/shader_info.h"
#include "crocus_context.h"
#include "crocus_defines.h"
#include "util/u_prim_restart.h"

View File

@ -88,6 +88,7 @@
#include "intel/common/intel_l3_config.h"
#include "intel/common/intel_sample_positions.h"
#include "intel/compiler/brw_compiler.h"
#include "compiler/shader_info.h"
#include "pipe/p_context.h"
#include "pipe/p_defines.h"
#include "pipe/p_screen.h"

View File

@ -38,6 +38,7 @@
#include "util/u_upload_mgr.h"
#include "intel/compiler/brw_compiler.h"
#include "intel/compiler/brw_eu_defines.h"
#include "compiler/shader_info.h"
#include "iris_context.h"
#include "iris_defines.h"

View File

@ -30,6 +30,7 @@
#include "util/crc32.h"
#include "iris_context.h"
#include "iris_defines.h"
#include "compiler/shader_info.h"
void
iris_init_screen_measure(struct iris_screen *screen)

View File

@ -30,7 +30,6 @@
#include "main/macros.h"
#include "main/config.h"
#include "util/ralloc.h"
#include "compiler/shader_info.h"
#include "util/u_math.h"
#ifdef __cplusplus
@ -40,6 +39,7 @@ extern "C" {
struct ra_regs;
struct nir_shader;
struct brw_program;
struct shader_info;
struct nir_shader_compiler_options;
typedef struct nir_shader nir_shader;

View File

@ -41,6 +41,8 @@
#include "brw_reg.h"
#include "brw_disasm_info.h"
#include "util/bitset.h"
#ifdef __cplusplus
extern "C" {
#endif