The documentation here ( Unity - Manual: DOTS Instancing shaders) states this:
Does this mean any shader graph shader or just the base-line builtin shaders for URP? Currently I don’t see any such define in the generated shader code of a custom Shader Graph Shader, but I also don’t know if there is some sort of wuju happening that is not presented to the user.
It’s not clear if DOTS INSTANCING will be enabled or not. Additionally, there is apparently no other way to specifically enable it besides (i suppose) injecting the define manually.
So the question is:
How do we build shaders in shader graph that are guaranteed to support DOTS INSTANCING so that we can ensure that our materials on objects will work correctly with GPU Resident Draw and GPU Occlusion Culling?