_setidealprocessor

This commit is contained in:
2023-05-21 20:28:38 +03:00
parent af326f934c
commit 279badf0f9
5 changed files with 18 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ void SceneRendering::Draw(RenderContextBatch& renderContextBatch, DrawCategory c
// Draw all visual components
_drawListIndex = -1;
if (_drawListSize >= 64 && category == SceneDrawAsync && renderContextBatch.EnableAsync)
/*if (_drawListSize >= 64 && category == SceneDrawAsync && renderContextBatch.EnableAsync)
{
// Run in async via Job System
Function<void(int32)> func;
@@ -78,7 +78,7 @@ void SceneRendering::Draw(RenderContextBatch& renderContextBatch, DrawCategory c
const uint64 waitLabel = JobSystem::Dispatch(func, JobSystem::GetThreadsCount());
renderContextBatch.WaitLabels.Add(waitLabel);
}
else
else*/
{
// Scene is small so draw on a main-thread
DrawActorsJob(0);