bc67dcce17
Make most render options accessible from console
2022-02-21 17:17:55 -05:00
bbff84eb61
Actually disable normal shadowing
2022-02-21 17:09:32 -05:00
a456dcb41a
Disable expensive normal self-shadowing by default
2022-02-21 17:05:41 -05:00
8361590294
Don't call new every frame on Vulkan
2022-02-21 17:05:30 -05:00
5d7e98c4be
Enumerate devices on DX12
2022-02-21 16:32:05 -05:00
a039d43d2e
Fix a stupid typo in materialcompiler.cpp
2022-02-21 15:57:38 -05:00
e5fddf2c67
Fixup merge
2022-02-21 15:55:11 -05:00
5c8b690d66
Merge remote-tracking branch 'origin/master'
2022-02-21 15:54:17 -05:00
6be0616d1e
Use DX12 by default on Windows
2022-02-21 15:53:42 -05:00
ba4d15886f
Protect against MinGW including Windows RT
2022-02-21 15:41:42 -05:00
83acffbf5c
Fill out DX12 backend
2022-02-21 15:40:27 -05:00
8e360fa971
Fix MinGW compiler error
2022-02-21 15:29:32 -05:00
7b67ed73d8
Use fmt::memory_buffer in material compiler
2022-02-21 13:20:55 -05:00
5401188196
Allow overriding the gfx backend at runtime
...
You can now specify -vulkan, -metal, etc to the SDL backend.
2022-02-21 12:27:29 -05:00
138cbf3f4b
Now try Metal, Vulkan and then finally Dummy in that order
...
This only applies to the SDL backend though, this will be expanded
upon though.
2022-02-21 12:09:43 -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
f932f83b89
Output GLSL from shader compiler
...
This should be optimized later :-)
2022-02-21 12:08:27 -05:00
d31715526a
Add file::seek method
2022-02-21 12:07:30 -05:00
477ea95905
Fix metal not getting drawable correctly
2022-02-21 12:07:16 -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
a9e7a46edc
Fallback to find module on Linux if SDL2 isn't found yet
2022-02-21 11:07:09 -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
f0a72530b7
Remove some unnecessary cruft from CMakeLists.txt
2022-02-21 10:13:47 -05:00
be0c0a80a7
Restore imconfig.h again
2022-02-21 10:13:29 -05:00
482baf2624
Fix CI build
...
Now I just picked a latest commit tag from SPIR-V cross and glslang
2022-02-21 09:54:57 -05:00
96207d814c
Remove some old cmake find modules
2022-02-21 09:01:57 -05:00
846293bd0f
Update stb
2022-02-21 08:58:38 -05:00
b996c7a1e4
Add missing shell file
2022-02-21 08:56:29 -05:00
257989f3f2
Update imgui to latest version
2022-02-21 08:56:14 -05:00
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