shithub: gpufs

ref: 5781e4d2a29054abc5d659e9ca867604cba4513f
dir: /README/

View raw version
GPUFS cpu implementation and Spir-V disassembler

EVERYTHING CURRENTLY IS A BIG TODO!


FILESYSTEM COMMANDS

/ctl

n(ew) s(hader) - create new shader
n(ew) b(uffer) <len> - create new buffer with length len
n(ew) p(ool) <numsets> - create new descriptor pool with numsets number of descriptor sets
b(ind) <buffer> <pool> <set> <binding> - bind buffer to pool/set/binding
s(et) <pool> <set> <numbindings> - allocate pool/set with numbindings number of bindings


/ShaderId/ctl

c(ompile) - compile shader
r(un) <entrypoint> - run shader
b(ind) <pool> - bind shader to pool


/BufferId/ctl


----------------

GPU filesystem (gpufs; TODO)

gpufs [ -d ]

-d enables debugging



Spir-V disassembler (spirvd)

spirvd [ -d ] < shaderbin > shaderasm

-d enables debugging