Mesa (master): swr: [rasterizer core] remove cygwin threads.cpp stubs

Tim Rowley torowley at kemper.freedesktop.org
Wed Aug 10 18:17:13 UTC 2016


Module: Mesa
Branch: master
Commit: a83beb936e6fb2caccea45d39f6d06da12575a6e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a83beb936e6fb2caccea45d39f6d06da12575a6e

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Thu Aug  4 13:06:49 2016 -0600

swr: [rasterizer core] remove cygwin threads.cpp stubs

Signed-off-by: Tim Rowley <timothy.o.rowley at intel.com>

---

 src/gallium/drivers/swr/rasterizer/core/threads.cpp | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/src/gallium/drivers/swr/rasterizer/core/threads.cpp b/src/gallium/drivers/swr/rasterizer/core/threads.cpp
index 143a77f..434c8cb 100644
--- a/src/gallium/drivers/swr/rasterizer/core/threads.cpp
+++ b/src/gallium/drivers/swr/rasterizer/core/threads.cpp
@@ -221,16 +221,6 @@ void CalculateProcessorTopology(CPUNumaNodes& out_nodes, uint32_t& out_numThread
         }
     }
 
-#elif defined(__CYGWIN__)
-
-    // Dummy data just to compile
-    NumaNode node;
-    Core core;
-    core.threadIds.push_back(0);
-    node.cores.push_back(core);
-    out_nodes.push_back(node);
-    out_numThreadsPerProcGroup = 1;
-
 #else
 
 #error Unsupported platform
@@ -277,10 +267,6 @@ void bindThread(SWR_CONTEXT* pContext, uint32_t threadId, uint32_t procGroupId =
 
     SetThreadGroupAffinity(GetCurrentThread(), &affinity, nullptr);
 
-#elif defined(__CYGWIN__)
-
-    // do nothing
-
 #else
 
     cpu_set_t cpuset;




More information about the mesa-commit mailing list