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
8237eeb05b
Fix Metal backend (finally)
2022-02-18 14:36:38 -05:00
0283cebcb8
Fix cutscene editor compilation
2022-02-18 09:56:48 -05:00
eb9951fc8d
Finally fix the model compiler window
2022-02-18 09:54:24 -05:00
660396f2ea
Add a minimal version of the assimp source tree
...
* This updates our assimp version to v5.2.1
* This is needed because the latest assimp doesn't compile without some
patches :-/ The patches required and applied are listed in the README
located in extern/assimp.
2022-02-18 09:50:41 -05:00
90ed1c0ea0
Remove old -Wno-everything from extern
2022-02-18 09:12:34 -05:00
5200122245
Make prism editor compile again
2022-02-18 09:11:18 -05:00
b7b8c8336b
Make GFXDummy compile successfully again
2022-02-18 09:08:48 -05:00
86a51e259d
Only link to GFXMetal when metal is enabled
2022-02-18 08:44:17 -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
93c2639539
Enable Metal by default on SDL backend
2022-02-15 11:29:56 -05:00
aa33bb6bf9
Update .gitignore
2022-02-15 11:25:30 -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
d30869cc5e
Adjust point light sizes for example scene
2022-02-15 09:03:05 -05:00
840a1e861f
Add back support for normal textures in material compiler
2022-02-15 09:02:42 -05:00
a4f852f9c8
Add normal textures for kamen and mrarmor materials
2022-02-15 09:02:10 -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
b39e539a37
Correctly add resources to iOS app bundle
2022-02-12 20:31:37 -05:00
d1e4e1aff5
Statically link to CoreGraphics and Metal on iOS
2022-02-12 20:27:33 -05:00
e910425dc5
iOS builds now successfully build
2022-02-12 20:24:54 -05:00
e77efa542e
Correctly pass plist into configure_file on iOS
2022-02-12 20:06:31 -05:00