Files
test2/intern/cycles/render
Kévin Dietrich e7fc15e2ef Fix T70615: Cycles ignores BSDF inputs when nodes are optimized
When compiling BSDF nodes, we only assing stack space to the normal and
tangent inputs if they are linked. However, it could be that the
ConstantFolder removed the link, so checking if there is a link fails
to take this into account.

To fix this, added a flag to ShaderInput to keep track of whether a
constant was folded into the input, and use it as well to verify that
the socket is linked when assigning stack space.

Reviewed By: brecht

Maniphest Tasks: T70615

Differential Revision: https://developer.blender.org/D11731
2021-06-29 16:24:21 +02:00
..
2021-01-22 16:08:25 +01:00
2021-01-22 16:08:25 +01:00
2021-03-15 16:47:07 +01: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-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-04-11 14:37:37 +10: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