In HLSLSupport.cginc, UNITY_PASS_TEX2DARRAY is defined as follows:
on DirectX platforms,
#define UNITY_ARGS_TEX2DARRAY(tex) Texture2DArray tex, SamplerState sampler##tex
#define UNITY_PASS_TEX2DARRAY(tex) tex, sampler##tex
on OpenGL platforms (DX9 style HLSL syntax; same object for texture+sampler),
#define UNITY_ARGS_TEX2DARRAY(tex) sampler2DArray tex
#define UNITY_PASS_TEX2DARRAY(tex) tex
There are UNITY_DECLARE_TEX2DARRAY_NOSAMPLER, so are there _NOSAMPLER version of UNITY_ARGS_TEX2DARRAY and UNITY_PASS_TEX2DARRAY?