Skip to content

Conversation

alindmanUnity
Copy link
Contributor

Purpose of this PR

Backports #616 behavior from master and 9.x.x, where the vertex attributes from every master node are always generated. It's a performance hit, but one that we can optimize later.

Fixes case 1250275

Testing status

Manual Tests

Created new shaders using every HDRP master node. Connected a vector property to the Vertex Normal and Vertex Tangent slot. Confirmed that when saving, the error no longer reproduces. Generated a shader and confirmed that the attributes struct are generate the needed properties.

Automated Tests

No tests in this PR, but I've made a note in our Favro board to add tests later. We can add tests now, but I didn't want the tests to block the merge as this is an urgent shipstopper for the next package release.

Links

Yamato: (Select your branch) https://yamato.prd.cds.internal.unity3d.com/jobs/902-Graphics

Any test projects or documents to go with this to help reviewers?

Comments to reviewers

Notes for the reviewers you have assigned.

@sebastienlagarde sebastienlagarde merged commit 0108910 into 7.x.x/release May 26, 2020
@sebastienlagarde sebastienlagarde deleted the 7.x.x/sg/fix-hd-attributes-struct branch May 26, 2020 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants