Search Issue Tracker

Fixed in 12.0.x

Votes

0

Found in [Package]

SRP Master (ccae6669bf)

Issue ID

1316128

Regression

No

[Shadergraph] Plugging both a fragment exclusive and vertex exclusive node into the same path lets you make an invalid route

Package: Shader Graph

-

Repro steps:
1. Create an add node
2. Plug a Sample Texture 2D node into the top slot
3. Plug a Vertex ID node into the bottom slot
4. Plug the result into vertex position
Expected result: having a fragment exclusive node plugged into a slot should make other slots incompatible with vertex exclusive routes, and vice versa (after plugging the Sample Texture 2D node into one slot it should not be possible to plug a Vertex ID node into the other slot on the add node)
Actual result: it is allowed and causes the shader to fail to compile, due to having a fragment exclusive node plugged into the vertex stage

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.