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
bff540956b
Add initial WebGPU GFX functions
...
This doesn't work yet of course :-)
2022-02-20 20:05:05 -05:00
71fb011bd0
Compile on web with debug symbols
2022-02-18 17:38:11 -05:00
fe45e382bc
Add simple web backend
2022-02-18 16:36:48 -05:00
2771be2a57
Fix tvOS build, move common UIKit stuff into it's own folder
2022-02-18 15:13:16 -05:00
8237eeb05b
Fix Metal backend (finally)
2022-02-18 14:36:38 -05:00
6935f85351
Start work on converting GFXMetal to metal-cpp
2022-02-15 11:25:13 -05:00
2b5fd7201f
Bring iOS CMake back up to snuff
2022-02-12 19:58:51 -05:00
redstrate
91cf44a0de
Only enable LTO on release builds
2021-10-11 14:33:45 -04:00
redstrate
4680579899
Remove macOS Cocoa and Metal backends
2021-09-13 13:47:29 -04:00
redstrate
e9e505da61
Add find_package for SDL2 on Linux (oops)
2021-05-09 20:11:12 -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
e01a31eb13
Use new SDL backend on Windows, fix numerous SDL problems as well
2021-04-20 00:23:14 -04:00
redstrate
97f67560df
Add skeleton for future example
2020-12-28 15:45:09 -05:00
redstrate
19a60a7a06
Make tools compile successfully under MSVC
2020-12-28 15:22:38 -05:00
redstrate
267f6221bf
Show shader files in IDE
2020-09-22 16:21:35 -04:00
redstrate
174b50d1ba
Reorganize cmake folders
2020-09-22 12:54:08 -04:00
redstrate
827ce8bec6
Fix strange glslang error and reduce spirv-cross modules
2020-09-22 12:26:49 -04:00
redstrate
c1156fbfbd
Always use FetchContent
2020-09-21 10:15:28 -04:00
redstrate
82a7d41dbc
Remove sol library and lua scripting support
2020-08-14 20:53:22 -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
94953c62f0
Fix errors when compiling with MSVC
2020-08-13 07:48:50 -04:00
redstrate
211995a604
Fix cmake configure on windows
2020-08-12 22:10:36 -04:00
redstrate
f6b895c796
Enable LTO for all targets
2020-08-12 18:14:37 -04:00
redstrate
4b642fcb66
Add initial files
2020-08-11 12:07:21 -04:00