Blender Git Loki

Git Commits -> Revision 16cbd0d

Revision 16cbd0d by Sergey Sharybin (cycles-x)
June 10, 2021, 15:44 (GMT)
Reduce kernel type boiler plate code in Cycles X

This is kind of a step back from an initial idea of making it easier
to find where kernel type is handled. It worked fine when number of
kernels was low. Now there are so many kernels and only so few of
them require special case that being explicit is actually in a way.

Now there corner cases are really handled as a corner cases, and there
is a note about where to look for those written next to the kernel
enum definition.

Differential Revision: https://developer.blender.org/D11571

Commit Details:

Full Hash: 16cbd0dd078e83692887810841b27e65a80cf3b5
Parent Commit: 76b5a74
Lines Changed: +15, -114

4 Modified Paths:

/intern/cycles/device/cuda/queue.cpp (+2, -37) (Diff)
/intern/cycles/device/optix/queue.cpp (+3, -40) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.cpp (+4, -36) (Diff)
/intern/cycles/kernel/kernel_types.h (+6, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021