Firstborn/Library/PackageCache/com.unity.render-pipelines..../ShaderLibrary/VisualEffectVertex.hlsl
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

19 lines
504 B
HLSL

// Wrapper vertex invocations for VFX. Necesarry to work around various null input geometry issues for vertex input layout on DX12 and Vulkan.
#if NULL_GEOMETRY_INPUT
PackedVaryings VertVFX(uint vertexID : VERTEXID_SEMANTIC, uint instanceID : INSTANCEID_SEMANTIC)
{
Attributes input;
ZERO_INITIALIZE(Attributes, input);
input.vertexID = vertexID;
input.instanceID = instanceID;
return vert(input);
}
#else
PackedVaryings VertVFX(Attributes input)
{
return vert(input);
}
#endif