Archived
1
Fork 0
Commit graph

259 commits

Author SHA1 Message Date
757f61f433 Fixup GFX dummy header (again, again) 2022-02-21 00:28:39 -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
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
d167471369 Reformat input.cpp 2022-02-20 23:41:40 -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
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
bff540956b Add initial WebGPU GFX functions
This doesn't work yet of course :-)
2022-02-20 20:05:05 -05:00
da45d16388 Protect against buffers that actually don't have their contents mapped 2022-02-18 17:38:27 -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
57c2bbc83a Fill out basic WebGPU header/source gfx files 2022-02-18 16:57:00 -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
8237eeb05b Fix Metal backend (finally) 2022-02-18 14:36:38 -05:00
b7b8c8336b Make GFXDummy compile successfully again 2022-02-18 09:08:48 -05:00
f4090d2b24 Fix a bunch of Metal backend errors 2022-02-15 12:33:01 -05:00
fcbf526615 Re-add support for MSL shaders 2022-02-15 12:32:42 -05:00
c5713938ca Initialize all metal objects properly 2022-02-15 11:32:33 -05:00
6935f85351 Start work on converting GFXMetal to metal-cpp 2022-02-15 11:25:13 -05:00
30fa329550 Add protections for debug marker functions 2022-02-15 09:26:19 -05:00
2ce04b686d Merge remote-tracking branch 'origin/master'
# Conflicts:
#	engine/gfx/CMakeLists.txt
2022-02-15 09:25:08 -05:00
5d335b0ed3 Add placeholders for MSL, HLSL, and WGSL 2022-02-15 09:21:56 -05:00
c9cac0f226 Re-add metal backend
This also adds dummy placeholders for DX12 and WebGPU ;-)
2022-02-15 09:13:47 -05:00
840a1e861f Add back support for normal textures in material compiler 2022-02-15 09:02:42 -05:00
25ccd18595 Add keybind to toggle all imgui ui off 2022-02-15 09:01:52 -05:00
87a81111eb Use proper 3d poission samples for point lights 2022-02-15 09:01:35 -05:00
8b9e8c29ef Use VK_EXT_metal_surface on iOS 2022-02-12 20:52:10 -05:00
e910425dc5 iOS builds now successfully build 2022-02-12 20:24:54 -05:00
2b5fd7201f Bring iOS CMake back up to snuff 2022-02-12 19:58:51 -05:00
b94a82b1e1 Add normal map importing to model compiler 2022-02-08 10:18:31 -05:00
9ee41d01b6 Remove some old and unused render pipelines 2022-02-08 09:37:39 -05:00
833046aed0 Remove old shader files 2022-02-08 09:33:18 -05:00
aac9e673ad Overhaul lighting and render debug menus 2022-02-08 09:17:44 -05:00
998c6f8bc2 Mark the material budget bar as an estimation 2022-02-08 09:11:22 -05:00
c6ab95f87c Restore mip map functionality in Vulkan 2022-02-08 09:09:37 -05:00
2c75d51278 Add parameters for metallic and roughness back
This also makes them modifiable in the debug menu at runtime
2022-02-08 08:50:10 -05:00