Blender Git Loki

Git Commits -> Revision 7b1c571

Revision 7b1c571 by William Leeson (master)
October 27, 2021, 12:05 (GMT)
Cycles: Replace saturate with saturatef

saturate is depricated in favour of __saturatef this replaces saturate
with __saturatef on CUDA by createing a saturatef function which replaces
all instances of saturate and are hooked up to the correct function on all
platforms.

Reviewed By: brecht

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

Commit Details:

Full Hash: 7b1c5712f888ea37bbccafd9ffd7a3a6a61e665f
Parent Commit: 18b6f0d
Lines Changed: +55, -50

19 Modified Paths:

/intern/cycles/kernel/closure/bsdf_microfacet.h (+9, -9) (Diff)
/intern/cycles/kernel/closure/bsdf_microfacet_multi.h (+5, -5) (Diff)
/intern/cycles/kernel/closure/bsdf_oren_nayar.h (+1, -1) (Diff)
/intern/cycles/kernel/closure/bsdf_toon.h (+4, -4) (Diff)
/intern/cycles/kernel/film/passes.h (+1, -1) (Diff)
/intern/cycles/kernel/film/read.h (+3, -3) (Diff)
/intern/cycles/kernel/svm/bevel.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/brick.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/closure.h (+4, -4) (Diff)
/intern/cycles/kernel/svm/color_util.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/gradient.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/hsv.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/image.h (+3, -3) (Diff)
/intern/cycles/kernel/svm/musgrave.h (+4, -4) (Diff)
/intern/cycles/kernel/svm/ramp.h (+2, -2) (Diff)
/intern/cycles/kernel/util/lookup_table.h (+2, -2) (Diff)
/intern/cycles/scene/constant_fold.cpp (+5, -5) (Diff)
/intern/cycles/util/math.h (+6, -1) (Diff)
/intern/cycles/util/math_float3.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