[Mesa-dev] [PATCH 2/4] i965/fs: stop inclinding glsl/ir.h in brw_fs.h

Jason Ekstrand jason at jlekstrand.net
Tue May 3 22:00:25 UTC 2016


We are no longer using anything from GLSL IR in the FS backend.
---
 src/mesa/drivers/dri/i965/brw_fs.h     | 1 -
 src/mesa/drivers/dri/i965/brw_link.cpp | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index 925e4b7..52f86aa 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -30,7 +30,6 @@
 #include "brw_shader.h"
 #include "brw_ir_fs.h"
 #include "brw_fs_builder.h"
-#include "compiler/glsl/ir.h"
 #include "compiler/nir/nir.h"
 
 struct bblock_t;
diff --git a/src/mesa/drivers/dri/i965/brw_link.cpp b/src/mesa/drivers/dri/i965/brw_link.cpp
index d4bbd8b..516316e 100644
--- a/src/mesa/drivers/dri/i965/brw_link.cpp
+++ b/src/mesa/drivers/dri/i965/brw_link.cpp
@@ -26,6 +26,7 @@
 #include "brw_fs.h"
 #include "brw_nir.h"
 #include "brw_program.h"
+#include "compiler/glsl/ir.h"
 #include "compiler/glsl/ir_optimization.h"
 #include "compiler/glsl/program.h"
 #include "program/program.h"
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list