UnityGame/Library/PackageCache/com.unity.render-pipelines.universal/ShaderLibrary/DOTS.hlsl
2024-10-27 10:53:47 +03:00

14 lines
447 B
HLSL

#ifndef UNIVERSAL_DOTS_PRAGMAS_INCLUDED
#define UNIVERSAL_DOTS_PRAGMAS_INCLUDED
#ifndef HAVE_VFX_MODIFICATION
#pragma multi_compile _ DOTS_INSTANCING_ON
#if UNITY_PLATFORM_ANDROID || (UNITY_PLATFORM_WEBGL && !SHADER_API_WEBGPU) || UNITY_PLATFORM_UWP
#pragma target 3.5 DOTS_INSTANCING_ON
#else
#pragma target 4.5 DOTS_INSTANCING_ON
#endif
#endif // HAVE_VFX_MODIFICATION
#endif // UNIVERSAL_DOTS_PRAGMAS_INCLUDED