Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <mano-wii>2021-07-29 16:35:12 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2021-07-29 17:37:10 +0300
commit1775c39986594244630e7f42931d1208fe020d02 (patch)
tree07d256b300a3f8330e8c3fd12676bcd640cbebd5 /build_files/build_environment
parent0f1c84f171520d03ded669565fa7548584fcc724 (diff)
Fix 'BLI_task_parallel_mempool' keeping 'user_chunk' unchanged
When `BLI_task_parallel_mempool` does not use threading, the `userdata_chunk` is allocated locally simulating a TLS. However `func_reduce` is not called so the original chunk is ignored. `task_parallel_iterator_no_threads` is another function that doesn't call `func_reduce`. It also ignores `userdata_chunk_local` in the main iterator. The solution in these cases is not to create a `userdata_chunk_local`. This fixes T90131 Differential Revision: https://developer.blender.org/D12067
Diffstat (limited to 'build_files/build_environment')
0 files changed, 0 insertions, 0 deletions