Archived
1
Fork 0
Commit graph

37 commits

Author SHA1 Message Date
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
ea8daa2397 Remove old FindSDL2 find module 2022-03-07 09:34:47 -05:00
cb3c787db0 Install SDL2 through homebrew on macOS CI 2022-03-07 09:17:42 -05:00
570df75a55 Add actual options for disabling compilation of the example and tooling 2022-03-06 19:13:14 -05:00
926b97db10 Remove UWP build support 2022-03-06 19:08:41 -05:00
982ef5090c Fixup MoltenVK support
This makes MoltenVK work on iOS again if you
have #1539 applied :-)
2022-03-06 17:22:15 -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
83acffbf5c Fill out DX12 backend 2022-02-21 15:40:27 -05:00
9b507aa79a Fix up macOS build 2022-02-21 11:47:23 -05:00
a9e7a46edc Fallback to find module on Linux if SDL2 isn't found yet 2022-02-21 11:07:09 -05:00
f0a72530b7 Remove some unnecessary cruft from CMakeLists.txt 2022-02-21 10:13:47 -05:00
6d9602b12a When building on Linux, prefer using the SDL2 config module
This is shipped by SDL2 itself, so it should be the preferred way
of finding it. Since SDL2 does not ship it in their Windows
development libraries, we still need to use the regular Find module.
2022-02-21 07:53:08 -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
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