2 ms·
I hope the future is that shaders along with the entire 3D APIs "dissolve" into regular programming languages and compiler toolchains. E.g. shader functions and
by flohofwoe 5y ago
I hope the future is that shaders along with the entire 3D APIs "dissolve" into regular programming languages and compiler toolchains. E.g. shader functions and GPU resources are mixed with regular CPU side code in the same source files, just marked with attributes (like [[gpubuffer(...)]], and shader functions with something like [[gpustage(vertex)]]), the "3D API" should become part of the standard library, and the CPU- and GPU-side are closely integrated for things like binding information (this would also make large areas of current 3D APIs simply "disappear").
Sean Baxter's Circle is going into that direction, and a handful other language projects too.
- hedgewitch 5y agoIf I recall correctly, Scopes is also one of those languages (I know that it at least has a SPIR-V component).