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:
Matt Turner 2015-11-22 15:30:59 -08:00
parent 64cc7572c1
commit ecac1aab53
18 changed files with 15 additions and 5 deletions

View file

@ -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,

View file

@ -25,8 +25,6 @@
#ifndef BRW_CS_H
#define BRW_CS_H
#include "brw_program.h"
#ifdef __cplusplus
extern "C" {
#endif

View file

@ -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"

View file

@ -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)

View file

@ -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;

View file

@ -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,

View file

@ -27,7 +27,6 @@
#include <stdbool.h>
#include "brw_context.h"
#include "brw_program.h"
#ifdef __cplusplus
extern "C" {

View file

@ -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"

View file

@ -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"

View file

@ -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);

View file

@ -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

View file

@ -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"

View file

@ -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;

View file

@ -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;

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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