swr: [rasterizer core] remove cygwin threads.cpp stubs
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 4 Aug 2016 19:06:49 +0000 (13:06 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Wed, 10 Aug 2016 16:08:11 +0000 (11:08 -0500)
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/rasterizer/core/threads.cpp

index 143a77f..434c8cb 100644 (file)
@@ -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;