Skip to content

Commit a676571

Browse files
committed
Remove frag inputs vfx template
1 parent 8fc2f75 commit a676571

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

com.unity.render-pipelines.high-definition/Editor/Material/ShaderGraph/Templates/ShaderPass.template

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,15 @@ Pass
2929
// allowing for FragInputs to capture CI's intended for ShaderGraph's SDI.
3030
$splice(CustomInterpolatorPreInclude)
3131

32-
// TODO: Merge FragInputsVFX with CustomInterpolators.
3332
$features.graphVFX: #define HAVE_VFX_MODIFICATION
34-
$features.graphVFX: $include("VFX/FragInputsDeclaration.template.hlsl")
33+
34+
// TODO: Merge FragInputsVFX substruct with CustomInterpolators.
35+
#ifdef HAVE_VFX_MODIFICATION
36+
struct FragInputsVFX
37+
{
38+
$splice(FragInputsVFX)
39+
};
40+
#endif
3541

3642
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
3743
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Texture.hlsl"

com.unity.render-pipelines.high-definition/Editor/Material/ShaderGraph/Templates/VFX/FragInputsDeclaration.template.hlsl

Lines changed: 0 additions & 4 deletions
This file was deleted.

com.unity.render-pipelines.high-definition/Editor/Material/ShaderGraph/Templates/VFX/FragInputsDeclaration.template.hlsl.meta

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)