Blender Git Loki

Git Commits -> Revision 829f9c5

Revision 829f9c5 by Sergey Sharybin (cycles-x)
June 15, 2021, 14:01 (GMT)
Cycles X: Implement float support in PassAccessorGPU

Rather straightforward implementation, with some code-generation
macro which takes care of some boiler plate code.

Unfortunately, clang-format does some weird decision in the
`kernel_as_string ` function. Attempt to disable clang-format via
comment makes the comment to be weirdly indented. So this part
is left-as is.

Similar to the PassAccessorCPU there is no overlays applied to
the float result.

Tested with an upcoming refactor of the OptiX denoiser which
uses pass accessor.

No functional changes so far.

Commit Details:

Full Hash: 829f9c59d1ce0174e5811d815450ea63ee6358bb
Parent Commit: 68b9aa8
Lines Changed: +95, -43

5 Modified Paths:

/intern/cycles/device/device_kernel.cpp (+23, -25) (Diff)
/intern/cycles/integrator/pass_accessor.h (+2, -1) (Diff)
/intern/cycles/integrator/pass_accessor_gpu.cpp (+15, -5) (Diff)
/intern/cycles/kernel/device/cuda/kernel.cu (+38, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+17, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021