i965: remove unused brw_program.h include
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 7 Mar 2017 18:38:34 +0000 (18:38 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Mar 2017 11:16:34 +0000 (11:16 +0000)
Neither of the changed files requires the brw_program.h include. Since
we're about to move them [to src/intel/compiler] with the next commit
there's no point in having the include.

Let alone the very confusing compiler include directive
[-I${top_srcdir}/src/mesa/drivers/dri/i965/] that one would have to use.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp

index 2eefe00..c410efc 100644 (file)
@@ -34,7 +34,6 @@
 #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 "common/gen_debug.h"
 #include "compiler/glsl_types.h"
index 65c75e6..aeed6a1 100644 (file)
@@ -30,7 +30,6 @@
 #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)
index 3d5967a..d403dec 100644 (file)
@@ -25,7 +25,6 @@
 #include "brw_fs.h"
 #include "brw_fs_surface_builder.h"
 #include "brw_nir.h"
-#include "brw_program.h"
 
 using namespace brw;
 using namespace brw::surface_access;
index 29b203a..a84048d 100644 (file)
@@ -25,7 +25,6 @@
 #define BRW_VEC4_H
 
 #include "brw_shader.h"
-#include "brw_program.h"
 
 #ifdef __cplusplus
 #include "brw_ir_vec4.h"
index abf522a..2ac287f 100644 (file)
@@ -23,7 +23,6 @@
 #include "brw_vec4.h"
 #include "brw_cfg.h"
 #include "brw_eu.h"
-#include "brw_program.h"
 #include "common/gen_debug.h"
 
 using namespace brw;
index a7f048a..4e88b79 100644 (file)
@@ -25,7 +25,6 @@
 #include "brw_vec4.h"
 #include "brw_vec4_builder.h"
 #include "brw_vec4_surface_builder.h"
-#include "brw_program.h"
 
 using namespace brw;
 using namespace brw::surface_access;
index f376618..262a084 100644 (file)
@@ -24,7 +24,6 @@
 #include "brw_vec4.h"
 #include "brw_cfg.h"
 #include "brw_eu.h"
-#include "brw_program.h"
 
 namespace brw {