I have a custom shader that is SRP Batcher compatible, until I use tex2Dlod in the vertex program. Then I get:

The offending line is (as a simplified example):
float4 texSample = tex2Dlod(sampler_MainTex, float4(.5f, .5f, 0.0f, 0.0f));
Is there a macro, like SAMPLE_TEXTURE2D, that would fix this? If so, where is the reference/repo for such macros?
URP 7.3.1, Unity 2019.3.13f1, Build target iOS, Metal