b4ea5eba04
Clear textures that will be partially written to work around Dx12 bug on AMD
2021-04-22 18:59:46 -04:00
6824974464
Update wgpu to get gfx-hal update that fixes the dx12 depth cube view construction issue
2021-04-22 18:59:46 -04:00
50eb82915b
Add env vars to set wgpu backend and wgpu api trace save dir (api trace still needs feature to be set ofc)
2021-04-22 18:59:46 -04:00
0e77af3cda
Fix dx12 shader issues
2021-04-22 18:59:46 -04:00
5922475539
Update wgpu
2021-04-22 18:59:46 -04:00
b5738ed1c4
Fix panic on zero sized scissor
2021-04-22 18:59:46 -04:00
ca91cf3ca3
Fix resizing using the wrong value
2021-04-22 18:59:46 -04:00
563bbc4180
Allow setting env var to only use the vulkan backend, deactivate profiling if the feature is not available
2021-04-22 18:59:46 -04:00
9576d06da9
Disable CI that does not need to run for builds
2021-04-22 18:59:46 -04:00
c7473fd843
Implement screenshots
2021-04-22 18:59:46 -04:00
af9505b084
Update wgpu-profiler
2021-04-22 18:59:46 -04:00
221aaf73dc
Change docker tags to a wpu specific tag
2021-04-22 18:59:46 -04:00
83ef106aaf
Display gpu timing info in the HUD when enabled
2021-04-22 18:59:46 -04:00
3dcc983819
Try out using storage buffer for sprite vertices
2021-04-22 18:59:46 -04:00
deffca1513
Fix bugs with sprite rendering
2021-04-22 18:59:46 -04:00
d317a1a1cc
Fix sprite vertex lookup, normalize sprite
...
normals in vert shader
2021-04-22 18:59:45 -04:00
b85e9eae89
Almost implement instance merging for sprites (validation error), rebase
...
fix
2021-04-22 18:59:45 -04:00
cfd8606b04
Start sprite refactor
2021-04-22 18:59:45 -04:00
d1bc159a61
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-04-22 18:59:45 -04:00
ddaf2e3875
Fix scissor panic
...
Removes the Scale::physical_resolution method as it could become
desynced from the renderer resolution causing the panic
2021-04-22 18:59:45 -04:00
afca781b2f
Update to the most recent wgpu
2021-04-22 18:59:45 -04:00
8d5d4223d0
Fix texture sampling syntax
2021-04-22 18:59:45 -04:00
7c502c26bf
Switch to index rendering for most quad-like things
2021-04-22 18:59:45 -04:00
1f8fde077a
Small fixes to gpu profiling
2021-04-22 18:59:45 -04:00
2f1695e00c
Update to the latest wgpu git
2021-04-22 18:59:45 -04:00
139b1f3d95
Implement toggleable gpu profiling that saves the timings from a recent frame with the screenshot key, rebase fixes
2021-04-22 18:59:45 -04:00
0b2702878b
WIP gpu timer thing (not for squashing!)
2021-04-22 18:59:45 -04:00
4aa10a95e0
Update wgpu to fix segfault
2021-04-22 18:59:45 -04:00
672d4e0cdd
Fix char select shadows by clearing shadow textures
2021-04-22 18:59:45 -04:00
85fa038796
Add setting for the PresentMode
2021-04-22 18:59:45 -04:00
6ebbbd408d
fix nametag depth culling as well as a tweak to maybe make the main menu not flicker on intel iGPU
2021-04-22 18:59:45 -04:00
3b1ea02bc5
Fix lod alt texture filtering
2021-04-22 18:59:45 -04:00
85c7f5c9c9
Resolve validation errors with trying to use unsupported filtering modes
2021-04-22 18:59:45 -04:00
6228430002
Corrected shadow cull mode
2021-04-22 18:59:45 -04:00
a1ab844834
Update to latest wgpu git (around 0.7), temporarily disable shader validation due to naga bug, rebase fixes!!
2021-04-22 18:59:45 -04:00
09a25e3fc0
Remove wgpu patch/update wgpu, rebase fixes, remove use of deprecated
...
vek functions for left, right, up, down, forward_rh, forward_lh
2021-04-22 18:59:45 -04:00
d24498ad30
Comment out secondary backends
2021-04-22 18:59:44 -04:00
624183e3f3
Avoid extra set_pipeline calls
2021-04-22 18:59:44 -04:00
b2f94c1485
Properly rebind shadow textures when they are changed
2021-04-22 18:59:44 -04:00
5b73717237
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-04-22 18:59:44 -04:00
a91722208c
Fix point shadows.
2021-04-22 18:59:44 -04:00
82b930f68b
Fix directed shadows, mostly.
2021-04-22 18:59:44 -04:00
9b8f6efb49
Suppress wgpu_core::device info logging
2021-04-22 18:59:44 -04:00
90b496b3b1
More frustration with shadows.
2021-04-22 18:59:44 -04:00
2e23def2c9
Various fixes for shadows.
2021-04-22 18:59:44 -04:00
2a748526fc
Fix the shadow drawing code
...
Very poorly optimized
2021-04-22 18:59:44 -04:00
fed5823a74
Re enable the skybox rendering in char select
2021-04-22 18:59:44 -04:00
4b651d535f
Fix the buffer slicing in the submodel
...
Fixes the void figures
2021-04-22 18:59:44 -04:00
732e0fa483
Re enable sprite rendering
2021-04-22 18:59:44 -04:00
1cf128311a
Reenable non-player figure drawing
2021-04-22 18:59:44 -04:00