python/taichi/aot/conventions/gfxruntime140/README.md
GfxRuntime140 is a legacy AOT module convention that serves the Vulkan, Metal and OpenGL backends.
GfxRuntime140 only accepts SPIR-V as the only valid code artifact. For each SPIR-V artifact, all of the following requirements must be satisfied.
main. It's execution model is GLCompute. Workgroup size Y and Z are always 1.Set=0.std140 layout, bound to Binding=0. Its elements are aligned to 4 bytes. The size is at least 1536 bytes. The context buffer content must be consumed following the rules listed below in "Context buffer format".std430 layout, bound to Binding=1.std430 layout, bound to Binding>=2 in argument order.The context buffer has the following constituents sequentially in order: