Move backend/gen/brw* files to backend/
authorBenjamin Segovia <segovia.benjamin@gmail.com>
Wed, 18 Apr 2012 15:20:25 +0000 (15:20 +0000)
committerKeith Packard <keithp@keithp.com>
Fri, 10 Aug 2012 23:16:36 +0000 (16:16 -0700)
backend/src/CMakeLists.txt
backend/src/backend/gen_context.cpp
backend/src/backend/gen_defs.hpp [moved from backend/src/backend/gen/brw_defines.h with 100% similarity]
backend/src/backend/gen_eu.cpp [moved from backend/src/backend/gen/brw_eu_emit.cpp with 99% similarity]
backend/src/backend/gen_eu.hpp [moved from backend/src/backend/gen/brw_eu.h with 99% similarity]
backend/src/backend/gen_program.cpp

index 9566727..b88253c 100644 (file)
@@ -89,7 +89,9 @@ else (GBE_USE_BLOB)
     backend/gen_program.cpp
     backend/gen_program.hpp
     backend/gen_program.h
-    backend/gen/brw_eu_emit.cpp)
+    backend/gen_defs.hpp
+    backend/gen_eu.hpp
+    backend/gen_eu.cpp)
 
   if (GBE_COMPILE_UTESTS)
     set (GBE_SRC
index c9252b5..8aaac13 100644 (file)
@@ -24,8 +24,8 @@
 
 #include "backend/gen_context.hpp"
 #include "backend/gen_program.hpp"
-#include "backend/gen/brw_defines.h"
-#include "backend/gen/brw_eu.h"
+#include "backend/gen_defs.hpp"
+#include "backend/gen_eu.hpp"
 #include <cstring>
 
 namespace gbe
similarity index 99%
rename from backend/src/backend/gen/brw_eu_emit.cpp
rename to backend/src/backend/gen_eu.cpp
index bfdbbae..c55fb88 100644 (file)
@@ -22,8 +22,7 @@
   *   Keith Whitwell <keith@tungstengraphics.com>
   */
 
-#include "brw_defines.h"
-#include "brw_eu.h"
+#include "backend/gen_eu.hpp"
 #include <cstring>
 
 namespace gbe
similarity index 99%
rename from backend/src/backend/gen/brw_eu.h
rename to backend/src/backend/gen_eu.hpp
index f6639f4..f4956b8 100644 (file)
@@ -24,7 +24,7 @@
 #ifndef GEN_EU_H
 #define GEN_EU_H
 
-#include "backend/gen/brw_defines.h"
+#include "backend/gen_defs.hpp"
 #include "sys/platform.hpp"
 #include <cassert>
 
index 50afa5b..3d671a7 100644 (file)
@@ -27,7 +27,7 @@
 #include "backend/gen_program.hpp"
 #include "backend/gen_program.hpp"
 #include "backend/gen_context.hpp"
-#include "backend/gen/brw_defines.h"
+#include "backend/gen_defs.hpp"
 #include "llvm/llvm_to_gen.hpp"
 
 #include <cstring>