korge
korge copied to clipboard
Compute Shaders
trafficstars
Compute Shaders would allow complex workflows that require getting most of the hardware. This is something that might not be available on all the cases (for example webgl until webgup is used, but also some homebrew platforms), so we would need a fallback mechanism. In the case of JS we could generate JS code to execute the code via CPU, though dynamic code generation might not be suitable for some scenarios like if we generate code for homebrew platforms where a JS runtime is not available.