3a9af9681c
Even as of Metal 2.1, MSL still doesn't support arrays of buffers directly. Therefore, we must manually expand them. In the prologue, we define arrays holding the argument pointers; these arrays are what the transpiled code ends up referencing. We might be able to do similar things for textures and samplers prior to MSL 2.0. Speaking of which, also enable texture arrays on iOS MSL 1.2. |
||
---|---|---|
.. | ||
asm | ||
comp | ||
desktop-only | ||
flatten | ||
frag | ||
legacy/vert | ||
vert | ||
vulkan |