Commit Graph

8370 Commits

Author SHA1 Message Date
Imbris
ebe063442a Fix most of the cargo check warnings 2021-05-30 11:49:41 -04:00
Imbris
e4fc93035b Replace default wgpu error handler with one that includes the error in the panic message 2021-05-30 11:49:41 -04:00
Imbris
5b3dbca297 Remove unused shadow bind group from the cloud pipeline 2021-05-30 11:49:41 -04:00
Imbris
d032563780 Require WGPU_TRACE_DIR to be set manually instead of having a default value 2021-05-30 11:49:41 -04:00
Imbris
a93be322b5 Wait for ingame pipelines to build before entering char select, show pipeline rebuilding status text in the graphics settings tab 2021-05-30 11:49:41 -04:00
Imbris
65946b6f4b Fix bug in sprite pipeline creation & misc other pipeline creation fixes 2021-05-30 11:49:41 -04:00
Imbris
604ea8ff18 Make Drawer work with background pipeline creation 2021-05-30 11:49:41 -04:00
Imbris
71a561fc70 Move pipeline creation into the background, still needs Drawer modications and UI to display status 2021-05-30 11:49:41 -04:00
Imbris
5b00b28e04 Fix wrong intermediate target texture format 2021-05-30 11:49:41 -04:00
Imbris
de7f7881a0 CI tweaks, make windows build use posix mingw and copy necessary DLL files 2021-05-30 11:49:41 -04:00
Imbris
62db5e5a69 Comment out lod depth tweaks not designed for reverse depth, convert waves image to rgba before constructing a texture, misc fix after rebase 2021-05-30 11:49:41 -04:00
Synis
3f02e7b743 Fix missing include 2021-05-30 11:49:41 -04:00
Imbris
3e74f87ea3 Cloud and sprite shader fixes after rebase 2021-05-30 11:49:41 -04:00
Imbris
13d61eaf9f Clear textures that will be partially written to work around Dx12 bug on AMD 2021-05-30 11:49:41 -04:00
Imbris
8e87047d9e Update wgpu to get gfx-hal update that fixes the dx12 depth cube view construction issue 2021-05-30 11:49:41 -04:00
Imbris
7343286a3c Add env vars to set wgpu backend and wgpu api trace save dir (api trace still needs feature to be set ofc) 2021-05-30 11:49:41 -04:00
Imbris
f09f515db2 Fix dx12 shader issues 2021-05-30 11:49:41 -04:00
Imbris
97359042db Update wgpu 2021-05-30 11:49:41 -04:00
João Capucho
4c73433ecb Fix panic on zero sized scissor 2021-05-30 11:49:41 -04:00
João Capucho
4c51dd0147 Fix resizing using the wrong value 2021-05-30 11:49:41 -04:00
Imbris
cbddf50a41 Allow setting env var to only use the vulkan backend, deactivate profiling if the feature is not available 2021-05-30 11:49:41 -04:00
Imbris
c58e8e9eb8 Disable CI that does not need to run for builds 2021-05-30 11:49:41 -04:00
Imbris
d7b651451b Implement screenshots 2021-05-30 11:49:41 -04:00
Imbris
0ad51204ec Update wgpu-profiler, smol rebase fix 2021-05-30 11:49:41 -04:00
Imbris
66822246e3 Change docker tags to a wpu specific tag 2021-05-30 11:49:41 -04:00
Imbris
e31353df88 Display gpu timing info in the HUD when enabled 2021-05-30 11:49:41 -04:00
Imbris
2de13f3a87 Try out using storage buffer for sprite vertices 2021-05-30 11:49:41 -04:00
Imbris
bed1596985 Fix bugs with sprite rendering 2021-05-30 11:49:41 -04:00
Imbris
0933a87d84 Fix sprite vertex lookup, normalize sprite
normals in vert shader
2021-05-30 11:49:41 -04:00
Imbris
8c3ede3b39 Almost implement instance merging for sprites (validation error), rebase
fix
2021-05-30 11:49:41 -04:00
Imbris
49f03bd325 Start sprite refactor 2021-05-30 11:49:41 -04:00
João Capucho
ef96ce68e6 Fix winit returning wrong window size
It seems like waiting for wgpu to create a instance is enough to make
winit return the correct window size
2021-05-30 11:49:41 -04:00
João Capucho
e40702c083 Fix scissor panic
Removes the Scale::physical_resolution method as it could become
desynced from the renderer resolution causing the panic
2021-05-30 11:49:41 -04:00
João Capucho
3da110628a Update to the most recent wgpu 2021-05-30 11:49:40 -04:00
Imbris
f62718044d Fix texture sampling syntax 2021-05-30 11:49:40 -04:00
Imbris
a1d8265935 Switch to index rendering for most quad-like things 2021-05-30 11:49:40 -04:00
Imbris
0d7e96e849 Small fixes to gpu profiling 2021-05-30 11:49:40 -04:00
Imbris
9d076d3a89 Update to the latest wgpu git 2021-05-30 11:49:40 -04:00
Imbris
d2e2580df4 Implement toggleable gpu profiling that saves the timings from a recent frame with the screenshot key, rebase fixes 2021-05-30 11:49:40 -04:00
Imbris
5cdce0635d WIP gpu timer thing (not for squashing!) 2021-05-30 11:49:40 -04:00
Imbris
40d420e868 Update wgpu to fix segfault 2021-05-30 11:49:40 -04:00
Imbris
d79e9cf40a Fix char select shadows by clearing shadow textures 2021-05-30 11:49:40 -04:00
Imbris
e2469152a3 Add setting for the PresentMode 2021-05-30 11:49:40 -04:00
Imbris
f307037a50 fix nametag depth culling as well as a tweak to maybe make the main menu not flicker on intel iGPU 2021-05-30 11:49:40 -04:00
Imbris
65a864f45b Fix lod alt texture filtering 2021-05-30 11:49:40 -04:00
Imbris
4f30534ea1 Resolve validation errors with trying to use unsupported filtering modes 2021-05-30 11:49:40 -04:00
Joshua Barretto
d247379953 Corrected shadow cull mode 2021-05-30 11:49:40 -04:00
Imbris
5e0f26ab30 Update to latest wgpu git (around 0.7), temporarily disable shader validation due to naga bug, rebase fixes!! 2021-05-30 11:49:40 -04:00
Imbris
72e6fe89df Remove wgpu patch/update wgpu, rebase fixes, remove use of deprecated
vek functions for left, right, up, down, forward_rh, forward_lh
2021-05-30 11:49:40 -04:00
Imbris
855101d72a Comment out secondary backends 2021-05-30 11:49:40 -04:00