mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
swr: [rasterizer] Avoid segv in thread creation on machines with non-consecutive NUMA topology.
Acked-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
2c71fd4bf8
commit
9a8146d0ff
1 changed files with 4 additions and 0 deletions
|
|
@ -783,6 +783,10 @@ void CreateThreadPool(SWR_CONTEXT *pContext, THREAD_POOL *pPool)
|
|||
for (uint32_t n = 0; n < numNodes; ++n)
|
||||
{
|
||||
auto& node = nodes[n];
|
||||
if (node.cores.size() == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
uint32_t numCores = numCoresPerNode;
|
||||
for (uint32_t c = 0; c < numCores; ++c)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue