shaders are perfectly suited for functional programming and yet every major shader language is brutally imperative. it’s horrible. does anyone know how one might go about writing an alternative shader language? is there a shader version of assembly i can compile to???
Keep in mind that GPUs are constrained to basically no-malloc and indirect calls are very expensive, which really limits how functional the language can be.
-
-
nah, this isn't the issue. you can absolutely compile this down to what's already there, it's not an issue for that
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.