[Mesa-dev] [PATCH 01/20] swr/rast: Fix one more invalid object format for windows.

George Kyriazis george.kyriazis at intel.com
Fri Jan 19 21:46:56 UTC 2018


---
 src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
index 508bc02..40ca644 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
+++ b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
@@ -178,7 +178,7 @@ void JitManager::SetupNewModule()
 #if defined(_WIN32)
     // Needed for MCJIT on windows
     Triple hostTriple(sys::getProcessTriple());
-    hostTriple.setObjectFormat(Triple::ELF);
+    hostTriple.setObjectFormat(Triple::COFF);
     newModule->setTargetTriple(hostTriple.getTriple());
 #endif // _WIN32
 
-- 
2.7.4



More information about the mesa-dev mailing list