mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
i965: Push down inclusion of brw_program.h.
We were including it in headers, which then caused it to be included in tons of places it wasn't needed. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
64cc7572c1
commit
ecac1aab53
18 changed files with 15 additions and 5 deletions
|
|
@ -31,6 +31,7 @@
|
|||
#include "brw_state.h"
|
||||
#include "intel_batchbuffer.h"
|
||||
#include "brw_nir.h"
|
||||
#include "brw_program.h"
|
||||
|
||||
static void
|
||||
assign_cs_binding_table_offsets(const struct brw_device_info *devinfo,
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@
|
|||
#ifndef BRW_CS_H
|
||||
#define BRW_CS_H
|
||||
|
||||
#include "brw_program.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@
|
|||
#include "brw_nir.h"
|
||||
#include "brw_vec4_gs_visitor.h"
|
||||
#include "brw_cfg.h"
|
||||
#include "brw_program.h"
|
||||
#include "brw_dead_control_flow.h"
|
||||
#include "main/uniforms.h"
|
||||
#include "brw_fs_live_variables.h"
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
#include "brw_eu.h"
|
||||
#include "brw_fs.h"
|
||||
#include "brw_cfg.h"
|
||||
#include "brw_program.h"
|
||||
|
||||
static enum brw_reg_file
|
||||
brw_file_from_reg(fs_reg *reg)
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
#include "brw_fs_surface_builder.h"
|
||||
#include "brw_vec4_gs_visitor.h"
|
||||
#include "brw_nir.h"
|
||||
#include "brw_program.h"
|
||||
|
||||
using namespace brw;
|
||||
using namespace brw::surface_access;
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
#include "brw_state.h"
|
||||
#include "brw_ff_gs.h"
|
||||
#include "brw_nir.h"
|
||||
#include "brw_program.h"
|
||||
|
||||
static void
|
||||
assign_gs_binding_table_offsets(const struct brw_device_info *devinfo,
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
#include <stdbool.h>
|
||||
|
||||
#include "brw_context.h"
|
||||
#include "brw_program.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
#include "brw_fs.h"
|
||||
#include "brw_cfg.h"
|
||||
#include "brw_nir.h"
|
||||
#include "brw_program.h"
|
||||
#include "glsl/ir_optimization.h"
|
||||
#include "glsl/glsl_parser_extras.h"
|
||||
#include "main/shaderapi.h"
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@
|
|||
#include "util/ralloc.h"
|
||||
#include "glsl/ir.h"
|
||||
|
||||
#include "brw_program.h"
|
||||
#include "brw_context.h"
|
||||
#include "brw_shader.h"
|
||||
#include "brw_nir.h"
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct brw_context;
|
||||
|
||||
void brw_setup_tex_for_precompile(struct brw_context *brw,
|
||||
struct brw_sampler_prog_key_data *tex,
|
||||
struct gl_program *prog);
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@
|
|||
#include "brw_wm.h"
|
||||
#include "brw_gs.h"
|
||||
#include "brw_cs.h"
|
||||
#include "brw_program.h"
|
||||
|
||||
#define FILE_DEBUG_FLAG DEBUG_STATE
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
#include "brw_shader.h"
|
||||
#include "main/compiler.h"
|
||||
#include "program/hash_table.h"
|
||||
#include "brw_program.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include "brw_ir_vec4.h"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
#include "glsl/glsl_parser_extras.h"
|
||||
#include "brw_vec4.h"
|
||||
#include "brw_cfg.h"
|
||||
#include "brw_program.h"
|
||||
|
||||
using namespace brw;
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
#include "brw_vec4.h"
|
||||
#include "brw_vec4_builder.h"
|
||||
#include "brw_vec4_surface_builder.h"
|
||||
#include "brw_program.h"
|
||||
#include "glsl/ir_uniform.h"
|
||||
|
||||
using namespace brw;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include "brw_vec4.h"
|
||||
#include "brw_cfg.h"
|
||||
#include "brw_program.h"
|
||||
#include "glsl/ir_uniform.h"
|
||||
#include "program/sampler.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
#include "program/prog_print.h"
|
||||
#include "program/prog_parameter.h"
|
||||
#include "brw_nir.h"
|
||||
#include "brw_program.h"
|
||||
|
||||
#include "util/ralloc.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
#include "program/program.h"
|
||||
#include "intel_mipmap_tree.h"
|
||||
#include "brw_nir.h"
|
||||
#include "brw_program.h"
|
||||
|
||||
#include "util/ralloc.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@
|
|||
#include "program/prog_instruction.h"
|
||||
#include "brw_context.h"
|
||||
#include "brw_eu.h"
|
||||
#include "brw_program.h"
|
||||
|
||||
/* A big lookup table is used to figure out which and how many
|
||||
* additional regs will inserted before the main payload in the WM
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue