diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-01-24 17:53:48 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-01-24 17:58:32 +0300 |
commit | 0928fe8710291c4eec1e62fa06c06fc193252ae4 (patch) | |
tree | e7899617dc7072bc837b218a634023df488dade3 /intern/cycles/kernel/geom/point.h | |
parent | 4c617c06e9cb924ba60a78fd5923202847f0fb2b (diff) |
Fix T94651: Cycles error with pointcloud vector attribute
Diffstat (limited to 'intern/cycles/kernel/geom/point.h')
-rw-r--r-- | intern/cycles/kernel/geom/point.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/geom/point.h b/intern/cycles/kernel/geom/point.h index 52a1e77d71a..23764d49095 100644 --- a/intern/cycles/kernel/geom/point.h +++ b/intern/cycles/kernel/geom/point.h @@ -81,7 +81,7 @@ ccl_device float3 point_attribute_float3(KernelGlobals kg, # endif if (desc.element == ATTR_ELEMENT_VERTEX) { - return float4_to_float3(kernel_tex_fetch(__attributes_float4, desc.offset + sd->prim)); + return kernel_tex_fetch(__attributes_float3, desc.offset + sd->prim); } else { return make_float3(0.0f, 0.0f, 0.0f); |