Search Issue Tracker

Fixed

Votes

0

Found in [Package]

12.0.0

Issue ID

1315434

Regression

No

[Shadergraph] Subgraph node precision is overriden when it does not match the parent shadergraph's precision

Package: Shader Graph

-

Reproduction steps:
1. Download and open the attached project "SubGraphBug.zip"
2. Double-click the HalfPrecisionTest asset to open it in the shader graph editor
3. Right-click HalfPrecisionTestSub and press Show Generated Code

Expected result: Unity_Sine_float method uses float In and out float Out parameters
Actual result: Unity_Sine_float method uses half In and out half Out parameters

Reproducible with: 7.5.3 (2019.4.22f1), 10.3.2 (2020.3.1f1), 11.0.0 (2021.1.0b12) 12.0.0 (2021.2.0a9)
Could not test with: 2018.4.32f1 (Shadergraph files would break)

  1. Resolution Note:

    Fixed in 2021.2.0b4, 2022.1.0a2

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.