blender/intern/cycles/kernel/device
Sergey Sharybin 36559fd89f Fix #136811: HIP-RT performance regression in 4.5
Reduce the register pressure and branching in the switch() by using
subclass and cast from void* to the base class.

This ensures intersection functions are not inlined multiple times,
bringing performance back.

Alternative could be to avoid functions (they are quite large) but
that only partially resolves the performance regression.

Pull Request: https://projects.blender.org/blender/blender/pulls/136823
2025-04-01 17:59:44 +02:00
..
cpu Fix #136319: Incorrect transparent bounce count with spatial splits 2025-03-22 04:51:42 +01:00
cuda Cleanup: Cycles: Deduplicate kernel attribute code using templating 2025-02-20 19:28:45 +01:00
gpu Cleanup: Cycles: oneAPI: Switch to non-experimental work item API 2025-02-12 21:46:22 +01:00
hip Cleanup: Cycles: Deduplicate kernel attribute code using templating 2025-02-20 19:28:45 +01:00
hiprt Fix #136811: HIP-RT performance regression in 4.5 2025-04-01 17:59:44 +02:00
metal Fix #117527: Spatial split leads to artifacts on transparent shadows 2025-03-21 13:56:50 +01:00
oneapi Cycles: Adjust inlining attributes for oneAPI device 2025-03-03 18:20:02 +01:00
optix Cleanup: Cycles: Deduplicate kernel attribute code using templating 2025-02-20 19:28:45 +01:00