Files
test/intern/cycles/render
Kévin Dietrich b8ecdbcd96 Cycles: avoid copying vertex normals attribute twice to the devices
Vertex normals are needed for normals maps and therefore are packed and send
to the device alongside the other float3 attributes. However, we already pack
and send vertex normals through `DeviceScene.tri_vnormal`.

This removes the packing of vertex normals from the attributes buffer, and
reuses `tri_vnormal` in the kernel for normals lookup for normal maps, which
reduces memory usage a bit, and speeds up device updates.

This also fixes potential missing normals updates following rB12a06292af86,
since the need for vertex normals for normals maps was overlooked.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D12237
2021-08-18 21:12:39 +02:00
..
2021-01-22 16:08:25 +01:00
2021-01-22 16:08:25 +01:00
2021-07-07 13:42:46 +10:00
2021-05-18 12:53:27 +10:00
2021-05-18 12:53:27 +10:00
2021-05-18 12:53:27 +10:00
2021-07-05 10:29:21 +02:00
2021-03-30 00:00:17 +02:00
2021-05-03 20:07:03 -03:00
2021-05-18 12:53:27 +10:00
2021-04-29 15:58:51 +02:00
2021-01-22 16:08:25 +01:00
2021-01-22 16:08:25 +01:00
2021-01-22 16:08:25 +01:00
2020-10-19 08:12:33 -07:00