1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-06 17:25:19 +00:00

Update embree to 3.13.5

(cherry picked from commit 5e4158eb48)
This commit is contained in:
DeeJayLSP
2022-11-24 11:45:59 -03:00
committed by Rémi Verschelde
parent 39b1c06a59
commit f694ab1c64
110 changed files with 9963 additions and 6494 deletions

View File

@@ -26,7 +26,7 @@ namespace embree
const Index threadCount = (Index) TaskScheduler::threadCount();
taskCount = min(taskCount,threadCount,maxTasks);
/* parallel invokation of all tasks */
/* parallel invocation of all tasks */
dynamic_large_stack_array(Value,values,taskCount,8192); // consumes at most 8192 bytes on the stack
parallel_for(taskCount, [&](const Index taskIndex) {
const Index k0 = first+(taskIndex+0)*(last-first)/taskCount;