Blender Git Commit Log

All Blender Git commits.

Page: 734 / 8462

April 13, 2021, 11:56 (GMT)
Cycles: Initialize all OptiX structs to zero before use

This is done to ensure building with newer OptiX SDK releases that add new struct fields gives
deterministic results (no uninitialized fields and therefore random data is passed to OptiX).
April 13, 2021, 11:48 (GMT)
Geometry Nodes: realize instances in subdivide node

This makes it consistent with the Subdivision Surface node.
April 13, 2021, 11:44 (GMT)
Cleanup: sort cmake file lists
April 13, 2021, 11:43 (GMT)
Cleanup: redundant struct declarations
April 13, 2021, 11:36 (GMT)
Fix snap gizmo flickering while dragging

Ignore click-drag for non-mouse button drag events

Alternative to fix issue detailed in D10886.
April 13, 2021, 11:25 (GMT)
fix some compilation issues
April 13, 2021, 11:21 (GMT)
progress
April 13, 2021, 11:19 (GMT)
Cleanup: Asset Browser, move Action-specific rendering code

Move some Action-specific code required to render the preview image into
the part of the code that is already Action-specific.

No functional changes.
April 13, 2021, 11:18 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
April 13, 2021, 11:15 (GMT)
cleanup
April 13, 2021, 11:14 (GMT)
Cleanup: preview rendering, push bContext a bit further down the call stack

Pass `bContext *C` a bit further down the call stack, to prevent
exploding the number of parameters of `ED_preview_icon_render()`. An
upcoming change will require access to yet another context member, and
this can now be done without adding yet another parameter.

No functional changes.
April 13, 2021, 11:13 (GMT)
Cleanup: use typing for checking utilities
April 13, 2021, 11:13 (GMT)
Fix T71960: Malformed .bmp files lead to crash

Adds appropriate checks/guards around all the untrusted parameters
which are used for reading from memory.

Validation:
- All the crashing files within the bug have been checked to not causes
crashes any longer>
- A handful of correct .bmp were validated: 3 different files at each
of 1, 4, 8, 24, 32 bpp depth along with a random variety of other 24
bpp files (around 20 in total).
- ~280 million iterations of fuzzing using AFL were completed with 0
crashes. The old code experienced several dozen crashes in first
minutes of running {F8584509}.

Ref D7945
April 13, 2021, 10:58 (GMT)
progress
April 13, 2021, 10:53 (GMT)
progress
April 13, 2021, 10:44 (GMT)
Cycles: Don't hardcode adaptive sampling passes for background renders

Leave creation of such passes to the scene.
No function changes expected, just reducing boiler plate code taking an
advantage of smarter render pipeline now.
April 13, 2021, 10:44 (GMT)
Cycles: Fix memory leak of OptiX context and denoiser
April 13, 2021, 10:44 (GMT)
Cycles: Fix section name in the comment
April 13, 2021, 10:44 (GMT)
Cycles: Unify checks for unused passes

Avoids possible scenario when viewport rendering uses samples
count as a display pass: its offset will be 0 in this case, making
checks in the kernel wrong.

This also makes it so access to the adaptive sampling will cause
memory issues instead of silently accessing combined passes.
April 13, 2021, 10:28 (GMT)
Cycles: make megakernel execution work again

After addition of more kernels the logic didn't work well anymore, for example
shade_light was holding up all paths going to the intersect_closest state.

Rather than trying to get all paths to the intersect_closest state, make the
megakernel support paths in different states.

This seems to help viewport rendering by about 10% here. I also tweaked the
threshold to what gave me best performance, but hard to say in general what this
value should be.

I noticed get_num_active_paths() used for adding more work tiles is not correct
since it's double counting some paths. Not fixing it as part of this patch, only
adding a comment about it.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021