William Leeson leesonw
  • Joined on 2021-06-09
William Leeson commented on pull request blender/blender#105403 2023-04-28 14:44:37 +02:00
Refactor geometry update for better parallelization and upload performance

The reason behind this is that with many multiple threads the mutexs were causing large stalls. So this was an easy way to switch then on an off. The stalls were frequent especially where the…

William Leeson commented on pull request blender/blender#105403 2023-04-28 14:41:01 +02:00
Refactor geometry update for better parallelization and upload performance

This is needed because if more than 1 device uses BVH2 they all work on building it. This happens when you combine GPU + CPU rendering or more than one GPU that uses BVH2.

William Leeson commented on pull request blender/blender#105403 2023-04-28 14:38:25 +02:00
Refactor geometry update for better parallelization and upload performance

I renamed the function device_free_geometry

William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-28 14:30:32 +02:00
2485460fb6 Merge branch 'upstream_main' into geometry_update
2bb4abdc27 Cleanup: assign variables & use 'match' to avoid redundant lookups
5fa8f7746c Realtime Compositor: Prioritize Viewer output node
7b8ba7f101 Fix #107314: OS key stuck when switching windows with GNOME/Wayland
6e2721da30 Core: Add sub-types for float-type custom properties
Compare 22 commits »
William Leeson pushed to master-cluster at leesonw/blender-cluster 2023-04-28 13:16:20 +02:00
ff87a1e7ff Revert "Use task pool for object BVH build also fixes stats recording"
391494982f Revert "Fix: Knife tool does not interpolate vertex customdata in
bf89c07ade Revert "Revert "Fix: Knife tool does not interpolate vertex customdata in"
41006b0b0c Merge branch 'upstream_main' into master-cluster
2bb4abdc27 Cleanup: assign variables & use 'match' to avoid redundant lookups
Compare 25 commits »
William Leeson pushed to master-cluster at leesonw/blender-cluster 2023-04-28 10:42:09 +02:00
3022e80b12 Use task pool for object BVH build also fixes stats recording
cee02f7153 FIX: Remove this from lambda capture for parallel_for
Compare 2 commits »
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-28 10:33:17 +02:00
df62806c94 Use task pool for object BVH build also fixes stats recording
e5250ab494 FIX: Remove this from lambda capture for parallel_for
Compare 2 commits »
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-27 14:45:32 +02:00
70f531fc2e Merge branch 'upstream_main' into geometry_update
61849d3b5b Revert "Fix: Knife tool does not interpolate vertex customdata in
107536f359 Refactor: Deduplicate code in graph_slider_ops.c
129f79debe Fix: Knife tool does not interpolate vertex customdata in interior cuts
c104b135c9 Cleanup: use term "space" in blend file read/write callbacks
Compare 21 commits »
William Leeson pushed to master-cluster at leesonw/blender-cluster 2023-04-27 14:36:19 +02:00
e054712c87 Merge branch 'upstream_main' into master-cluster
61849d3b5b Revert "Fix: Knife tool does not interpolate vertex customdata in
107536f359 Refactor: Deduplicate code in graph_slider_ops.c
129f79debe Fix: Knife tool does not interpolate vertex customdata in interior cuts
c104b135c9 Cleanup: use term "space" in blend file read/write callbacks
Compare 21 commits »
William Leeson pushed to master-cluster at leesonw/blender-cluster 2023-04-27 13:36:33 +02:00
881c55d006 Move scene DeviceScene to use unique_ptr
9bd3ec1518 FIX: Upload textures to all devices
Compare 2 commits »
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-27 11:16:25 +02:00
a916e34033 Move scene DeviceScene to use unique_ptr
58cddaeefe FIX: Upload textures to all devices
0af6a3efbe FIX:Add correct parameters to the OneAPI build_bvh method
Compare 3 commits »
William Leeson pushed to master-cluster at leesonw/blender-cluster 2023-04-26 16:04:15 +02:00
c4cefa7c05 FIX: Clear the buffers and update the consts correctly for shadow transparency
b5add89efd Switch to using a vector of unique_ptrs for the DeviceScenes
58f58f895c Switch to vector of unique_ptrs to manage sub-devices
d6972809ab Store the sub-BVH using unique_ptr to simplify life cycle management
d4f6dccad7 Merge branch 'master-cluster' of projects.blender.org:leesonw/blender-cluster into master-cluster
Compare 76 commits »
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-26 15:00:33 +02:00
aa24f3dd06 Merge branch 'upstream_main' into geometry_update
02b5c04b2b Fix intersection distance offset in Cycles
029ce2b656 Cleanup: remove redundant casts
0a3a6cd154 Cleanup: use ptrdiff_t in assertion to prevent overflow
bf58af2d65 Cleanup: fix build errors/warnings
Compare 71 commits »
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-26 12:23:17 +02:00
8ba98b8138 Move displacement image upload out of geometry loop
1560ec66c9 FIX: Create CUDA context earlier and remove lock
d949741a33 FIX: Clear the device buffers after hair transparency calculations
4ca1060431 Rename DeviceScene method device_free to device_free_geometry
Compare 4 commits »
William Leeson pushed to master-cluster at leesonw/blender-cluster 2023-04-25 10:44:15 +02:00
98d77e7045 FIX: build_bvh and generic_copy_to
William Leeson pushed to master-cluster at leesonw/blender-cluster 2023-04-24 10:38:40 +02:00
15f295020b Merge branch 'upstream_main' into master-cluster
4259105d68 Clean up: Fix spacing on Cycles debug message "Use MNEE"
10fc2d6d96 Cleanup: remove basepath argument from BLI_path_normalize{_dir}
20eb682967 Cleanup: rename main_name to main_filepath
6ab225074d Cleanup: minor changes to BLI_path_normalize
Compare 77 commits »
William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-24 10:38:24 +02:00
ee8d450adc Merge branch 'upstream_main' into geometry_update
4259105d68 Clean up: Fix spacing on Cycles debug message "Use MNEE"
10fc2d6d96 Cleanup: remove basepath argument from BLI_path_normalize{_dir}
20eb682967 Cleanup: rename main_name to main_filepath
6ab225074d Cleanup: minor changes to BLI_path_normalize
Compare 77 commits »
William Leeson commented on pull request blender/blender#105403 2023-04-21 17:30:39 +02:00
Refactor geometry update for better parallelization and upload performance

Yes, I have removed it now :-/

William Leeson pushed to geometry_update at leesonw/blender-cluster 2023-04-21 17:29:45 +02:00
0669acc5c5 Remove geometry_additions.cpp