blender/intern/cycles/kernel/device/hiprt
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
..
bvh.h Fix #136811: HIP-RT performance regression in 4.5 2025-04-01 17:59:44 +02:00
common.h Fix #136811: HIP-RT performance regression in 4.5 2025-04-01 17:59:44 +02:00
globals.h Fix: SSS and Motion Blur or Curves not working on HIP-RT 2025-03-14 18:17:54 +01:00
hiprt_kernels.h Refactor: Cycles: Add const keyword where possible, using clang-tidy 2025-01-03 10:23:20 +01:00
kernel.cpp Cycles: HIP-RT 2.5 integration and gfx12 support 2025-02-20 17:34:14 +01:00