diff --git a/com.unity.render-pipelines.universal/Editor/ShaderGraph/UniversalShaderGraphResources.cs b/com.unity.render-pipelines.universal/Editor/ShaderGraph/UniversalShaderGraphResources.cs index 974612d10fd..de28cb719e3 100644 --- a/com.unity.render-pipelines.universal/Editor/ShaderGraph/UniversalShaderGraphResources.cs +++ b/com.unity.render-pipelines.universal/Editor/ShaderGraph/UniversalShaderGraphResources.cs @@ -79,7 +79,9 @@ internal struct Varyings Vector4 fogFactorAndVertexLight; [Optional] Vector4 shadowCoord; - [Semantic("CUSTOM_INSTANCE_ID")] [PreprocessorIf("UNITY_ANY_INSTANCING_ENABLED")] + [Semantic("CUSTOM_INSTANCE_ID")] + [SystemGenerated] + [PreprocessorIf("UNITY_ANY_INSTANCING_ENABLED")] uint instanceID; [Semantic("SV_RenderTargetArrayIndex")] [SystemGenerated] diff --git a/com.unity.shadergraph/CHANGELOG.md b/com.unity.shadergraph/CHANGELOG.md index aae99f460c3..c7da0f60ff1 100644 --- a/com.unity.shadergraph/CHANGELOG.md +++ b/com.unity.shadergraph/CHANGELOG.md @@ -6,8 +6,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [7.8.0] - 2021-07-23 -Version Updated -The version number for this package has increased due to a version update of a related graphics package. +### Fixed + - Fixed the ordering of varyings in a struct that could cause an error when compiling for XR on Android. [1369011](https://issuetracker.unity3d.com/product/unity/issues/guid/1361049/) ## [7.7.0] - 2021-04-28