Cycles: Remove ccl_addr_space from RNG passed to functions
Simplifies code quite a bit, making it shorter and easier to extend. Currently no functional changes for users, but is required for the upcoming work of shadow catcher support with OpenCL.
This commit is contained in:

committed by
Sergey Sharybin

parent
d14e39622a
commit
8ada7f7397
@@ -223,7 +223,7 @@ ccl_device_inline int subsurface_scatter_multi_intersect(
|
||||
SubsurfaceIntersection *ss_isect,
|
||||
ShaderData *sd,
|
||||
ShaderClosure *sc,
|
||||
uint *lcg_state,
|
||||
RNG *lcg_state,
|
||||
float disk_u,
|
||||
float disk_v,
|
||||
bool all)
|
||||
|
Reference in New Issue
Block a user