WuhuIslandTesting/Library/PackageCache/com.unity.render-pipelines.core@8148.0.3-1/ShaderLibrary/GlobalSamplers.hlsl

20 lines
594 B
HLSL
Raw Permalink Normal View History

2025-01-07 02:06:59 +01:00
#ifndef UNITY_CORE_SAMPLERS_INCLUDED
#define UNITY_CORE_SAMPLERS_INCLUDED
// Common inline samplers.
// Separated into its own file for robust including from any other file.
// Helps with sharing samplers between intermediate and/or procedural textures (D3D11 has a active sampler limit of 16).
SamplerState sampler_PointClamp;
SamplerState sampler_LinearClamp;
SamplerState sampler_PointRepeat;
SamplerState sampler_LinearRepeat;
// SLZ MODIFIED // More samplers
SAMPLER(sampler_TrilinearRepeat);
SAMPLER(sampler_TrilinearClamp);
// END SLZ MODIFIED
#endif //UNITY_CORE_SAMPLERS_INCLUDED