Description

Seems when an expression output is swizzled (Typically via component mask) we lose the ability to track if the value is constant. This causes the IsPropertyUsed check to fail, potentially falsely activating overheads for features like PDO.

Steps to Reproduce

See https://udn.unrealengine.com/questions/334007/material-attribute-usage-not-properly-checked.html or create material shown in smallmtl.png. Difficult to test without a debugger attached.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-41594 in the post.

1
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.14.34.154.16
Target Fix4.16
Fix Commit3310187
Main Commit3357449
CreatedFeb 6, 2017
ResolvedFeb 17, 2017
UpdatedApr 27, 2018