<div dir="ltr">Thanks for catching that!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 8, 2017 at 9:16 AM, Emil Velikov <span dir="ltr"><<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>><br>
<br>
Neither of the changed files requires the brw_program.h include. Since<br>
we're about to move them [to src/intel/compiler] with the next commit<br>
there's no point in having the include.<br>
<br>
Let alone the very confusing compiler include directive<br>
[-I${top_srcdir}/src/mesa/<wbr>drivers/dri/i965/] that one would have to use.<br>
<br>
Signed-off-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>><br>
---<br>
src/mesa/drivers/dri/i965/brw_<wbr>fs.cpp | 1 -<br>
src/mesa/drivers/dri/i965/brw_<wbr>fs_generator.cpp | 1 -<br>
src/mesa/drivers/dri/i965/brw_<wbr>fs_nir.cpp | 1 -<br>
src/mesa/drivers/dri/i965/brw_<wbr>vec4.h | 1 -<br>
src/mesa/drivers/dri/i965/brw_<wbr>vec4_generator.cpp | 1 -<br>
src/mesa/drivers/dri/i965/brw_<wbr>vec4_nir.cpp | 1 -<br>
src/mesa/drivers/dri/i965/brw_<wbr>vec4_visitor.cpp | 1 -<br>
7 files changed, 7 deletions(-)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs.cpp b/src/mesa/drivers/dri/i965/<wbr>brw_fs.cpp<br>
index 2eefe00801..c410efc29d 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_fs.cpp<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_fs.cpp<br>
@@ -34,7 +34,6 @@<br>
#include "brw_nir.h"<br>
#include "brw_vec4_gs_visitor.h"<br>
#include "brw_cfg.h"<br>
-#include "brw_program.h"<br>
#include "brw_dead_control_flow.h"<br>
#include "common/gen_debug.h"<br>
#include "compiler/glsl_types.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/<wbr>brw_fs_generator.cpp<br>
index 65c75e63d2..aeed6a1197 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_fs_generator.cpp<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_fs_generator.cpp<br>
@@ -30,7 +30,6 @@<br>
#include "brw_eu.h"<br>
#include "brw_fs.h"<br>
#include "brw_cfg.h"<br>
-#include "brw_program.h"<br>
<br>
static enum brw_reg_file<br>
brw_file_from_reg(fs_reg *reg)<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/<wbr>brw_fs_nir.cpp<br>
index 3d5967aaec..d403dec535 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_fs_nir.cpp<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_fs_nir.cpp<br>
@@ -25,7 +25,6 @@<br>
#include "brw_fs.h"<br>
#include "brw_fs_surface_builder.h"<br>
#include "brw_nir.h"<br>
-#include "brw_program.h"<br>
<br>
using namespace brw;<br>
using namespace brw::surface_access;<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4.h b/src/mesa/drivers/dri/i965/<wbr>brw_vec4.h<br>
index 29b203af89..a84048d8c6 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_vec4.h<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_vec4.h<br>
@@ -25,7 +25,6 @@<br>
#define BRW_VEC4_H<br>
<br>
#include "brw_shader.h"<br>
-#include "brw_program.h"<br>
<br>
#ifdef __cplusplus<br>
#include "brw_ir_vec4.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_generator.cpp b/src/mesa/drivers/dri/i965/<wbr>brw_vec4_generator.cpp<br>
index abf522a782..2ac287f17f 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_generator.cpp<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_vec4_generator.cpp<br>
@@ -23,7 +23,6 @@<br>
#include "brw_vec4.h"<br>
#include "brw_cfg.h"<br>
#include "brw_eu.h"<br>
-#include "brw_program.h"<br>
#include "common/gen_debug.h"<br>
<br>
using namespace brw;<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_nir.cpp b/src/mesa/drivers/dri/i965/<wbr>brw_vec4_nir.cpp<br>
index a7f048a0f8..4e88b79504 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_nir.cpp<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_vec4_nir.cpp<br>
@@ -25,7 +25,6 @@<br>
#include "brw_vec4.h"<br>
#include "brw_vec4_builder.h"<br>
#include "brw_vec4_surface_builder.h"<br>
-#include "brw_program.h"<br>
<br>
using namespace brw;<br>
using namespace brw::surface_access;<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/<wbr>brw_vec4_visitor.cpp<br>
index f376618b3c..262a084ca8 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_visitor.cpp<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_vec4_visitor.cpp<br>
@@ -24,7 +24,6 @@<br>
#include "brw_vec4.h"<br>
#include "brw_cfg.h"<br>
#include "brw_eu.h"<br>
-#include "brw_program.h"<br>
<br>
namespace brw {<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
2.11.1<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>