4e8b910af4
Update some external libraries
...
This also uses full commit hashes instead of the name of the git tag.
2022-02-21 08:52:25 -05:00
75c0fa25c0
Fix bullet's cmake_minimum_version warning
2022-02-21 08:48:20 -05:00
b67fbfc0ae
Stop bullet from spamming our CMake runs with warnings
2022-02-21 08:16:21 -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
757f61f433
Fixup GFX dummy header (again, again)
2022-02-21 00:28:39 -05:00
1c8e21a764
Strip down the README
2022-02-21 00:25:44 -05:00
ea3049cb8a
Remove default arguments in GFX api
2022-02-21 00:16:02 -05:00
0265f1920e
Default initialize some more variables in example
2022-02-21 00:15:46 -05:00
e8deaa54c2
Cleanup debug pass warnings
2022-02-21 00:15:24 -05:00
ed8adba8ff
Change %lu -> %llu in debug menu
2022-02-21 00:15:02 -05:00
b0d875832d
Add [[nodiscard]] to some more methods
2022-02-21 00:14:47 -05:00
4d9a333781
Remove, cleanup some constructors
2022-02-21 00:14:12 -05:00
e13af96a72
Remove some unnecessary header includes
2022-02-21 00:13:45 -05:00
e2eaf2edb8
Remove unnecessary const in string_utils.hpp
2022-02-21 00:12:51 -05:00
82ea9d17a2
Fixup Dummy GFX files, again
2022-02-21 00:12:29 -05:00
516c2129eb
Remove old font.hpp
2022-02-21 00:12:09 -05:00
f71fda776d
Protect against self-assignment in AssetPtr
2022-02-21 00:11:43 -05:00
cc49340cd9
Remove unused MaterialProperty constructor
2022-02-21 00:11:28 -05:00
82eab9bd91
Pass by reference in asset functions
2022-02-21 00:11:13 -05:00
d91cd98fcb
Remove duplicate build/ entry in gitignore
2022-02-21 00:10:35 -05:00
d167471369
Reformat input.cpp
2022-02-20 23:41:40 -05:00
d76f9b12a5
Add missing metal-cpp files (double oops)
2022-02-20 23:28:28 -05:00
a7ee5451fb
Add missing uikit files (oops)
2022-02-20 23:28:18 -05:00
ecaea301a3
Add a .clang-format
2022-02-20 23:28:06 -05:00
a1b80f643f
Outputted SPIR-V files are now appended with .spv
2022-02-20 22:51:39 -05:00
6926980f70
Removing some unnecessary std430's from push constant blocks
2022-02-20 22:51:23 -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
c557c51eb6
Stop dumping source glsl into the console
2022-02-20 22:49:26 -05:00
3cdeebf6bc
Reduce the indices of the vertex buffers in an attempt to make WebGPU happy
2022-02-20 22:28:54 -05:00
d6fb539583
Add a WebGPU compat option in the shader compiler
...
Come on...
2022-02-20 22:28:35 -05:00
bd485c2eb8
Fix attribute and input bindings for WebGPU, and ask for WGSL shaders
2022-02-20 22:28:07 -05:00
6b5bcc560e
Update SPIRV-Cross and glslang to latest version
2022-02-20 22:26:50 -05:00
bff540956b
Add initial WebGPU GFX functions
...
This doesn't work yet of course :-)
2022-02-20 20:05:05 -05:00
f96d6da92a
Support better stack traces on web
2022-02-18 17:39:02 -05:00
38933b1ca6
Fix some unreachable errors in web platform
2022-02-18 17:38:41 -05:00
da45d16388
Protect against buffers that actually don't have their contents mapped
2022-02-18 17:38:27 -05:00
71fb011bd0
Compile on web with debug symbols
2022-02-18 17:38:11 -05:00
e73c610fc6
Revert accidental gfx dummy rename
2022-02-18 17:19:45 -05:00
e0eace9f74
Initialize WebGPU properly
2022-02-18 17:19:37 -05:00
79bc598ef9
Fill out web platform backend with a main loop
2022-02-18 16:57:14 -05:00
57c2bbc83a
Fill out basic WebGPU header/source gfx files
2022-02-18 16:57:00 -05:00
fe45e382bc
Add simple web backend
2022-02-18 16:36:48 -05:00
7c31143d26
Clean up metal-cpp folder
...
I removed the useless python script and now the README and LICENSE isn't in the public header folder.
2022-02-18 15:19:07 -05:00
dfcade8a29
Move even more common iOS/tvOS files
2022-02-18 15:18:09 -05:00
2771be2a57
Fix tvOS build, move common UIKit stuff into it's own folder
2022-02-18 15:13:16 -05:00
50b6c33bbc
Generate SPIR-V debug information
...
This will be behind an option later
2022-02-18 14:38:08 -05:00
4f6dbb8677
Only run SMAA when AA is actually enabled
2022-02-18 14:37:51 -05:00
3cdb75a8f6
Enable ProMotion support for the new iPhones
2022-02-18 14:37:36 -05:00
6cd15b5671
Always set engine properties for add_platform executables
2022-02-18 14:37:19 -05:00
50589e7e77
Touch up main storyboard for iOS
2022-02-18 14:37:02 -05:00