draw

module pkg::alloy::gpu::shader::blobsource

A compiled shader as the program carries it: bytes #shader makes while compiling, read back when the program creates the shader. Words of 4 bytes, little-endian:

"ALSH", the format's version (3)
the entry points: their count, then each one's stage, workgroup
    size (3 words), name length in bytes and name, padded to words,
    and the resources it uses: their count, then their indices
the resources: their count, then each one's group, binding, kind
    and size
the SPIR-V module: its word count, then its words
the WGSL source, for the browser: its length in bytes, then the
    bytes, padded to words
the MSL source, for Metal (shader/msl.alloy), the same way