mirror of
https://github.com/blender/blender
synced 2026-09-26 16:15:47 +03:00
Fix mistake in Cycles float4 pow
Not currently used anywhere, so should be no user visible change.
This commit is contained in:
parent
ca52f0fae3
commit
63dfbdc187
1 changed files with 1 additions and 1 deletions
|
|
@ -595,7 +595,7 @@ ccl_device_inline float4 ensure_finite(float4 v)
|
|||
|
||||
ccl_device_inline float4 pow(float4 v, float e)
|
||||
{
|
||||
return make_float4(powf(v.x, e), powf(v.y, e), powf(v.z, e), powf(v.z, e));
|
||||
return make_float4(powf(v.x, e), powf(v.y, e), powf(v.z, e), powf(v.w, e));
|
||||
}
|
||||
|
||||
CCL_NAMESPACE_END
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue