Fix Cycles on Metal after the recent changes
The address space needs to be specified explicitly. Pull Request: https://projects.blender.org/blender/blender/pulls/108932
This commit is contained in:
committed by
Sergey Sharybin
parent
dc7678ecfa
commit
8013bad084
@@ -20,7 +20,7 @@ CCL_NAMESPACE_BEGIN
|
||||
* them separately. */
|
||||
|
||||
ccl_device_inline void bsdf_eval_init(ccl_private BsdfEval *eval,
|
||||
const ShaderClosure *sc,
|
||||
ccl_private const ShaderClosure *sc,
|
||||
const float3 wo,
|
||||
Spectrum value)
|
||||
{
|
||||
@@ -51,7 +51,7 @@ ccl_device_inline void bsdf_eval_init(ccl_private BsdfEval *eval, Spectrum value
|
||||
}
|
||||
|
||||
ccl_device_inline void bsdf_eval_accum(ccl_private BsdfEval *eval,
|
||||
const ShaderClosure *sc,
|
||||
ccl_private const ShaderClosure *sc,
|
||||
const float3 wo,
|
||||
Spectrum value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user