Module: Mesa Branch: master Commit: aea737e12e186091507d33b874ec101da0f69c5e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aea737e12e186091507d33b874ec101da0f69c5e
Author: Tim Rowley <timothy.o.row...@intel.com> Date: Tue Mar 21 16:52:49 2017 -0500 swr: [rasterizer core] Don't bind single-threaded contexts Reviewed-by: George Kyriazis <george.kyria...@intel.com> --- src/gallium/drivers/swr/rasterizer/core/threads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/swr/rasterizer/core/threads.cpp b/src/gallium/drivers/swr/rasterizer/core/threads.cpp index ea29f66c88..e3ad2585c0 100644 --- a/src/gallium/drivers/swr/rasterizer/core/threads.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/threads.cpp @@ -274,7 +274,7 @@ void CalculateProcessorTopology(CPUNumaNodes& out_nodes, uint32_t& out_numThread void bindThread(SWR_CONTEXT* pContext, uint32_t threadId, uint32_t procGroupId = 0, bool bindProcGroup=false) { // Only bind threads when MAX_WORKER_THREADS isn't set. - if (pContext->threadInfo.MAX_WORKER_THREADS && bindProcGroup == false) + if (pContext->threadInfo.SINGLE_THREADED || (pContext->threadInfo.MAX_WORKER_THREADS && bindProcGroup == false)) { return; } _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit