swr: [rasterizer jitter] Adjust jitter header includes
authorTim Rowley <timothy.o.rowley@intel.com>
Fri, 20 Jan 2017 00:32:06 +0000 (18:32 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Wed, 8 Feb 2017 19:57:20 +0000 (13:57 -0600)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
src/gallium/drivers/swr/rasterizer/jitter/JitManager.h
src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp
src/gallium/drivers/swr/rasterizer/jitter/builder.cpp
src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp
src/gallium/drivers/swr/rasterizer/jitter/streamout_jit.cpp

index 5021fe299fb2b8e418ef689991dc516e740046e2..d77dffb98c8ba005c40f3fc25401075d3aa5f878 100644 (file)
 #pragma warning(disable: 4800 4146 4244 4267 4355 4996)
 #endif
 
-#include "jit_api.h"
-#include "JitManager.h"
-#include "fetch_jit.h"
-
 #pragma push_macro("DEBUG")
 #undef DEBUG
 
 
 #pragma pop_macro("DEBUG")
 
+#include "JitManager.h"
+#include "jit_api.h"
+#include "fetch_jit.h"
+
 #include "core/state.h"
 
 #include "state_llvm.h"
index 7c0eaa9c31d440f9093d6ae080a2a68ca84f1e1f..ed7216b89f4c5c096820f57a674272db82aac0c1 100644 (file)
@@ -29,9 +29,6 @@
 ******************************************************************************/
 #pragma once
 
-#include "common/os.h"
-#include "common/isa.hpp"
-
 #if defined(_WIN32)
 #pragma warning(disable : 4146 4244 4267 4800 4996)
 #endif
@@ -84,6 +81,9 @@ using PassManager = llvm::legacy::PassManager;
 #include "llvm/Support/DynamicLibrary.h"
 
 
+#include "common/os.h"
+#include "common/isa.hpp"
+
 #pragma pop_macro("DEBUG")
 
 //////////////////////////////////////////////////////////////////////////
index 2fd011fcb94b4f5542c112e92ea98cec15bb85de..76a58b652fd5183bddd3c0ba0914158387f9e3b4 100644 (file)
@@ -27,9 +27,9 @@
 * Notes:
 *
 ******************************************************************************/
+#include "builder.h"
 #include "jit_api.h"
 #include "blend_jit.h"
-#include "builder.h"
 #include "state_llvm.h"
 
 #include <sstream>
index 6ee4d857326db0ba2f2c9fbc51129a587e043ad4..4fc5af7f4465833c085df1961d31b62a6bf7abfb 100644 (file)
@@ -64,7 +64,7 @@ namespace SwrJit
         mSimdInt64Ty = VectorType::get(mInt64Ty, mVWidth);
         mSimdFP16Ty = VectorType::get(mFP16Ty, mVWidth);
         mSimdFP32Ty = VectorType::get(mFP32Ty, mVWidth);
-        mSimdVectorTy = StructType::get(pJitMgr->mContext, std::vector<Type*>(4, mSimdFP32Ty), false);
+        mSimdVectorTy = ArrayType::get(mSimdFP32Ty, 4);
         mSimdVectorTRTy = StructType::get(pJitMgr->mContext, std::vector<Type*>(5, mSimdFP32Ty), false);
 
         if (sizeof(uint32_t*) == 4)
index 984aab67cd64e4faf0338a7d400b66ec46796059..901bce69468075feab5e343dcbb2d470ee950f5e 100644 (file)
@@ -27,9 +27,9 @@
 * Notes:
 *
 ******************************************************************************/
+#include "builder.h"
 #include "jit_api.h"
 #include "fetch_jit.h"
-#include "builder.h"
 #include "state_llvm.h"
 #include <sstream>
 #include <tuple>
index c4fb3724c7c7ed1585124f83adbea224c1746518..793e5ec01ea6b91b952f494771bc7bcbf930af9e 100644 (file)
@@ -27,9 +27,9 @@
 * Notes:
 *
 ******************************************************************************/
+#include "builder.h"
 #include "jit_api.h"
 #include "streamout_jit.h"
-#include "builder.h"
 #include "state_llvm.h"
 #include "llvm/IR/DataLayout.h"