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???
-
-
-
-
Replying to @beka_valentine @ManishEarth
i’ve also contemplated writing a transpiler to glsl or something
3 replies 0 retweets 1 like -
Replying to @beka_valentine @ManishEarth
Compile to SPIR-V. You can then compile SPIR-V to GLSL or HLSL with https://github.com/KhronosGroup/SPIRV-Cross …
1 reply 0 retweets 3 likes -
Replying to @pcwalton @ManishEarth
oh apparently also there’s a part of opengl called arb which is an assembly language???
1 reply 0 retweets 0 likes -
Replying to @beka_valentine @ManishEarth
Not sure what you mean—ARB is the Architecture Review Board, i.e. the standards group.
1 reply 0 retweets 1 like -
Replying to @pcwalton @ManishEarth1 reply 0 retweets 0 likes
-
mm tho it’s way out of date it seems
1 reply 0 retweets 0 likes
Replying to @beka_valentine @ManishEarth
Oh yeah, that’s ancient stuff.
12:58 PM - 3 Jan 2019
0 replies
0 retweets
0 likes
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.