982ef5090c
Fixup MoltenVK support
...
This makes MoltenVK work on iOS again if you
have #1539 applied :-)
2022-03-06 17:22:15 -05:00
7f479b0e0b
Properly copy data on macOS
...
This also fixes cfg init failing on macOS
2022-02-22 09:34:00 -05:00
5d0f629ca7
Remove hardcoded path (wow)
...
great programming only happens here
2022-02-22 09:28:45 -05:00
312de5312c
Attempt to fix CI build
2022-02-21 18:18:19 -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
4f75d09eaf
Move data folder into example directory
2022-02-21 17:37:10 -05:00
6be0616d1e
Use DX12 by default on Windows
2022-02-21 15:53:42 -05:00
ca57de8f99
Support GFX dummy a little better
...
There's now more checks to prevent crashing when the
mapped buffer is actually null, like when running with the dummy
backend.
2022-02-21 12:09:14 -05:00
9b507aa79a
Fix up macOS build
2022-02-21 11:47:23 -05:00
54c95b9ddd
Link against SDL2::SDL2 if found
2022-02-21 11:09:55 -05:00
a3704eb7a9
Improve surface and gfx context creation
...
This is laying some groundwork for a much better way
of determining the best GFX api to use at runtime, and
making it easier to support more GFX backends in the future.
2022-02-21 11:03:34 -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
8237eeb05b
Fix Metal backend (finally)
2022-02-18 14:36:38 -05:00
86a51e259d
Only link to GFXMetal when metal is enabled
2022-02-18 08:44:17 -05:00
93c2639539
Enable Metal by default on SDL backend
2022-02-15 11:29:56 -05:00
6935f85351
Start work on converting GFXMetal to metal-cpp
2022-02-15 11:25:13 -05:00
420e8cbea9
Fix ninja multiple dummy generation error
2022-02-03 09:15:04 -05:00
redstrate
f213d3d548
Fix resource path handling on macOS
2021-09-13 17:19:59 -04:00
redstrate
4680579899
Remove macOS Cocoa and Metal backends
2021-09-13 13:47:29 -04:00
redstrate
465297442a
Copy shader files properly on SDL2 apps
2021-05-11 16:32:59 -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
f0a1dc2f20
Add experimental SDL backend for Linux
2021-03-01 14:40:02 -05:00