The rt platform's indirect command buffer tests need commands that a kernel encodes on the GPU, as a guest's shaders do. icb_encode encodes indexed triangles, each with its own colour, into a buffer it reaches through the gpuResourceID in an argument buffer, and icb_vertex and icb_fragment draw them. icb_encode_wide binds 29 vertex buffers. icb_vertex_23 to icb_vertex_29 read 23 to 29 of them, so a command of theirs binds 24 to 30 slots, across the most slots rt's push range carries. The metallib is the Mac's metal compiler's, built from the source beside it.
68 KiB
68 KiB