Blender Git Loki

Git Commits -> Revision d1f944c

Revision d1f944c by Michael Jones (master)
November 18, 2021, 13:38 (GMT)
Cycles: declare constants at program scope on Metal

MSL requires that constant address space literals be declared at program
scope. This patch moves the `blackbody_table_r/g/b` and `cie_colour_match`
constants into separate files so they can be declared at the appropriate scope.

Ref T92212

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

Commit Details:

Full Hash: d1f944c18634f215c3da0484ac3b80e994118680
Parent Commit: d19e358
Committed By: Brecht Van Lommel
Lines Changed: +90, -67

1 Added Path:

/intern/cycles/kernel/tables.h (+76, -0) (View)

12 Modified Paths:

/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/device/cpu/globals.h (+1, -0) (Diff)
/intern/cycles/kernel/device/cuda/compat.h (+1, -1) (Diff)
/intern/cycles/kernel/device/gpu/kernel.h (+3, -0) (Diff)
/intern/cycles/kernel/device/hip/compat.h (+1, -1) (Diff)
/intern/cycles/kernel/device/metal/compat.h (+1, -1) (Diff)
/intern/cycles/kernel/device/optix/compat.h (+1, -1) (Diff)
/intern/cycles/kernel/device/optix/kernel.cu (+2, -0) (Diff)
/intern/cycles/kernel/svm/math_util.h (+0, -27) (Diff)
/intern/cycles/kernel/svm/wavelength.h (+0, -35) (Diff)
/intern/cycles/scene/shader_nodes.cpp (+2, -0) (Diff)
/intern/cycles/util/defines.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021