Archived
1
Fork 0
Commit graph

19 commits

Author SHA1 Message Date
68d4512763 Reformat editor code 2022-08-15 11:10:06 -04:00
80a74c15cd Goodbye, WebGPU
The web backend however, is being kept - for the future in case WebGPU gets added back or WebGL support is added
2022-03-10 10:26:59 -05:00
e1c688bea7 Completely overhaul shader generation, again
Now it's even simpler, and it now generates multiple
shader languages at once! The copying mechanism is now
much simpler on non-mac platforms as well. HLSL is also now a supported shader target language.
2022-02-21 18:07:22 -05:00
e13af96a72 Remove some unnecessary header includes 2022-02-21 00:13:45 -05:00
fb5558b076 A huge overhaul of how hosted shader compilers work
Now it's much more usable, you are forced to use a hosted
shader compiler on a platform that needs it (for example, iOS)
and now CMake will error when it's missing. Now every
platform is very specific on which languages it needs to
be translated to, and whether a hosted compiler
is needed. No more manually copying over shaders!
2022-02-20 22:51:05 -05:00
fcbf526615 Re-add support for MSL shaders 2022-02-15 12:32:42 -05:00
redstrate
e79a98c7d2 Some minor code refactoring 2021-10-14 08:51:58 -04:00
redstrate
529bc27702 Replace old logging and format system with fmt 2021-09-13 23:41:54 -04:00
redstrate
45977b4ac1 Emit SPIR-V shaders on macOS 2021-09-13 13:51:36 -04:00
redstrate
87f15b2007 Completely redo the CMake shader compilation system
* Now shader recompilation happens only when it needs to. Hurray for faster compiles!
* Changes to constructors for ShaderSource to make it more explicit.
* The version of SPIRV-Cross is updated, and now the glslang version pulled correctly matches what SPIRV-Cross needs. This fixes the annoying "cannot parse built-ins" bug.
2021-05-09 19:10:23 -04:00
redstrate
bae6d05184 Move console and log namespaces to prism 2021-04-20 11:23:53 -04:00
redstrate
c7efea5258 Add more windowing stuff to Linux backend, fix some other clang-analyze bugs 2021-02-18 08:31:36 -05:00
redstrate
41ef1c33f5 Add framework for compute shaders 2020-09-22 15:39:20 -04:00
redstrate
af3993abbd Move some file utility into seperate header, update vulkan backend to compile fine 2020-08-27 20:36:24 -04:00
redstrate
0664ec66b1 Fix MSVC compiler errors 2020-08-27 20:28:16 -04:00
redstrate
80fd8a375b Unify standalone and runtime shader compiler, rename old ShaderCompiler to MaterialCompiler 2020-08-15 20:09:16 -04:00
redstrate
0e008a1beb Use fetch content on macOS for SPIRV-Cross, and fix compilation using the new Windows changes 2020-08-14 19:56:27 -04:00
redstrate
7a905fcea6 Fix shader compilation on windows 2020-08-12 22:34:09 -04:00
redstrate
4b642fcb66 Add initial files 2020-08-11 12:07:21 -04:00