Skip to content

Conversation

PaulDemeulenaere
Copy link
Contributor

@PaulDemeulenaere PaulDemeulenaere commented Mar 22, 2021

Purpose of this PR

Fix compilation issue with built-in render pipeline when UnityCG.inc and com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl are both included.

  • UnityCG.inc is needed for UnityWorldToClipPos, UnityApplyLinearShadowBias but also variable like UNITY_MATRIX_VP.
  • Common.hlsl is always included in VFXCommon.hlsl

Testing status

Tested repro project locally from https://fogbugz.unity3d.com/f/cases/1308481/
_after_small


Comments to reviewers

I'm not sure we should really do this : BRP isn't officially supported with VFXGraph.
This issue has been introduced by this change : #3443

@PaulDemeulenaere
Copy link
Contributor Author

Actually, we won't fix this.

@sebastienlagarde sebastienlagarde deleted the vfx/fix/1308481-compilation-failing-with-cginc branch September 1, 2021 10:18
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.

1 participant