Imbris
1f6c2eb12f
Remove unused waves texture
2021-06-03 00:10:05 -04:00
Imbris
2e139d9bcb
Fix most of the cargo check warnings
2021-06-03 00:10:05 -04:00
Imbris
2527ec674a
Replace default wgpu error handler with one that includes the error in the panic message
2021-06-03 00:10:05 -04:00
Imbris
00df6a12ae
Remove unused shadow bind group from the cloud pipeline
2021-06-03 00:10:05 -04:00
Imbris
5d54d57d50
Require WGPU_TRACE_DIR to be set manually instead of having a default value
2021-06-03 00:10:05 -04:00
Imbris
6d490518f9
Wait for ingame pipelines to build before entering char select, show pipeline rebuilding status text in the graphics settings tab
2021-06-03 00:10:04 -04:00
Imbris
6f0de83ee7
wgpu rebase fix: crossbeam -> crossbeam_channel
2021-06-03 00:09:55 -04:00
Imbris
327bc1ef5c
Fix bug in sprite pipeline creation & misc other pipeline creation fixes
2021-06-02 23:59:51 -04:00
Imbris
cfd60b3762
Make Drawer work with background pipeline creation
2021-06-02 23:59:51 -04:00
Imbris
699cf9e197
Move pipeline creation into the background, still needs Drawer modications and UI to display status
2021-06-02 23:59:51 -04:00
Imbris
8680da40c1
Fix wrong intermediate target texture format
2021-06-02 23:59:51 -04:00
Imbris
596553d375
Comment out lod depth tweaks not designed for reverse depth, convert waves image to rgba before constructing a texture, misc fix after rebase
2021-06-02 23:59:50 -04:00
Imbris
8eb0804d4f
Clear textures that will be partially written to work around Dx12 bug on AMD
2021-06-02 23:59:50 -04:00
Imbris
8f7e83926f
Update wgpu to get gfx-hal update that fixes the dx12 depth cube view construction issue
2021-06-02 23:59:50 -04:00
Imbris
d611d9efbc
Add env vars to set wgpu backend and wgpu api trace save dir (api trace still needs feature to be set ofc)
2021-06-02 23:59:50 -04:00
Imbris
6a9c8612e7
Update wgpu
2021-06-02 23:59:50 -04:00
João Capucho
f6eab55754
Fix panic on zero sized scissor
2021-06-02 23:59:50 -04:00
João Capucho
59c607714f
Fix resizing using the wrong value
2021-06-02 23:59:50 -04:00
Imbris
30c7131667
Allow setting env var to only use the vulkan backend, deactivate profiling if the feature is not available
2021-06-02 23:59:50 -04:00
Imbris
f927dfb1c6
Implement screenshots
2021-06-02 23:59:50 -04:00
Imbris
e399ad23e2
Update wgpu-profiler, smol rebase fix
2021-06-02 23:59:50 -04:00
Imbris
497c11de32
wgpu branch rebase fixes
2021-06-02 23:59:50 -04:00
Imbris
42a113c0d4
Display gpu timing info in the HUD when enabled
2021-06-02 23:59:50 -04:00
Imbris
12294dd700
Try out using storage buffer for sprite vertices
2021-06-02 23:59:50 -04:00
Imbris
667deea01e
Fix bugs with sprite rendering
2021-06-02 23:59:50 -04:00
Imbris
0b523e27a6
Fix sprite vertex lookup, normalize sprite
...
normals in vert shader
2021-06-02 23:59:50 -04:00
Imbris
9a06d03127
Almost implement instance merging for sprites (validation error), rebase
...
fix
2021-06-02 23:59:50 -04:00
Imbris
b8d3735728
Start sprite refactor
2021-06-02 23:59:49 -04:00
João Capucho
f565e433fd
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-06-02 23:59:49 -04:00
João Capucho
8fbebc11e2
Fix scissor panic
...
Removes the Scale::physical_resolution method as it could become
desynced from the renderer resolution causing the panic
2021-06-02 23:59:49 -04:00
João Capucho
5e4aabd981
Update to the most recent wgpu
2021-06-02 23:59:49 -04:00
Imbris
be9bee50fb
Switch to index rendering for most quad-like things
2021-06-02 23:59:49 -04:00
Imbris
2a1fafb299
Small fixes to gpu profiling
2021-06-02 23:59:49 -04:00
Imbris
118487cee2
Update to the latest wgpu git
2021-06-02 23:59:49 -04:00
Imbris
0ea17414a5
Implement toggleable gpu profiling that saves the timings from a recent frame with the screenshot key, rebase fixes
2021-06-02 23:59:49 -04:00
Imbris
1b727ddba2
WIP gpu timer thing (not for squashing!)
2021-06-02 23:59:49 -04:00
Imbris
63eb209294
Update wgpu to fix segfault
2021-06-02 23:59:49 -04:00
Imbris
ed0e0ed8dd
Fix char select shadows by clearing shadow textures
2021-06-02 23:59:49 -04:00
Imbris
73eeff7121
Add setting for the PresentMode
2021-06-02 23:59:49 -04:00
Imbris
f539edfa84
fix nametag depth culling as well as a tweak to maybe make the main menu not flicker on intel iGPU
2021-06-02 23:59:49 -04:00
Imbris
9a1f23907d
Fix lod alt texture filtering
2021-06-02 23:59:49 -04:00
Imbris
d7ef3cb76c
Resolve validation errors with trying to use unsupported filtering modes
2021-06-02 23:59:49 -04:00
Joshua Barretto
41fbd8a7a1
Corrected shadow cull mode
2021-06-02 23:59:49 -04:00
Imbris
4e452b1e5b
Update to latest wgpu git (around 0.7), temporarily disable shader validation due to naga bug, rebase fixes!!
2021-06-02 23:59:49 -04:00
Imbris
847c3bffa5
Remove wgpu patch/update wgpu, rebase fixes, remove use of deprecated
...
vek functions for left, right, up, down, forward_rh, forward_lh
2021-06-02 23:59:49 -04:00
Imbris
8f862b6e04
Comment out secondary backends
2021-06-02 23:59:49 -04:00
Imbris
87fef25058
Avoid extra set_pipeline calls
2021-06-02 23:59:48 -04:00
Imbris
652caee86d
Properly rebind shadow textures when they are changed
2021-06-02 23:59:48 -04:00
Joshua Yanovski
26e51b5514
Inverse depth planes.
...
Also added a function that has extensive details about what the
projection options mean, and set our near plane much closer (0.25 to
0.0625) and far plane much farther (100000.25 to 524288.0625). In the
future we may completely remove the far plane (opting for an infinite
one) and may possibly improve accuracy elsewhere using analysis of other
floating point values.
2021-06-02 23:59:48 -04:00
Joshua Yanovski
ba9a9c099a
Fix point shadows.
2021-06-02 23:59:48 -04:00