MTLFeatureSet_iOS_GPUFamily4_v2
A11
iphone8 iphone8pllus iphoneX
vulkan
https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/chap30.html#device-generated-commands
Direct3D11 DrawIndexedInstancedIndirect
OpenGL versions before 4.2
OpenGL ES versions that support indirect draw, the last argument is reserved and therefore must be zero.
Shader Model 4.5
#pragma target 4.5 (or es3.1)
- OpenGL ES 3.1 capabilities (DX11 SM5.0 on D3D platforms, just without tessellation shaders).
- Not supported on DX11 before SM5.0, OpenGL before 4.3 (i.e. Mac), OpenGL ES 2.0/3.0.
- Supported on DX11+ SM5.0, OpenGL 4.3+, OpenGL ES 3.1, Metal, Vulkan, PS4/XB1 consoles.
- Has compute shaders, random access texture writes, atomics and so on. No geometry or tessellation shaders.
https://docs.unity3d.com/ScriptReference/Rendering.CommandBuffer.DrawProceduralIndirect.html
https://docs.unity3d.com/Manual/SL-ShaderCompileTargets.html
也就是说 如果做gpu driven
iphone8起