Imbris
584c152dd3
Fix wrong intermediate target texture format
2021-04-25 08:14:00 -04:00
Imbris
8669788682
CI tweaks, make windows build use posix mingw and copy necessary DLL files
2021-04-25 08:14:00 -04:00
Imbris
18044d142d
Comment out lod depth tweaks not designed for reverse depth, convert waves image to rgba before constructing a texture, misc fix after rebase
2021-04-25 08:14:00 -04:00
Synis
c8bbe2dc0f
Fix missing include
2021-04-25 08:14:00 -04:00
Imbris
9a189bf0c9
Cloud and sprite shader fixes after rebase
2021-04-25 08:14:00 -04:00
Imbris
579e032f40
Clear textures that will be partially written to work around Dx12 bug on AMD
2021-04-25 08:14:00 -04:00
Imbris
1fb52be531
Update wgpu to get gfx-hal update that fixes the dx12 depth cube view construction issue
2021-04-25 08:14:00 -04:00
Imbris
91b6cd7106
Add env vars to set wgpu backend and wgpu api trace save dir (api trace still needs feature to be set ofc)
2021-04-25 08:14:00 -04:00
Imbris
349ff53c3c
Fix dx12 shader issues
2021-04-25 08:14:00 -04:00
Imbris
5509147c46
Update wgpu
2021-04-25 08:14:00 -04:00
João Capucho
e2ec425783
Fix panic on zero sized scissor
2021-04-25 08:14:00 -04:00
João Capucho
62cbbc52c0
Fix resizing using the wrong value
2021-04-25 08:14:00 -04:00
Imbris
6711ee562d
Allow setting env var to only use the vulkan backend, deactivate profiling if the feature is not available
2021-04-25 08:14:00 -04:00
Imbris
406173570f
Disable CI that does not need to run for builds
2021-04-25 08:14:00 -04:00
Imbris
5df5f910c2
Implement screenshots
2021-04-25 08:14:00 -04:00
Imbris
2084e07ab4
Update wgpu-profiler
2021-04-25 08:14:00 -04:00
Imbris
e7e9c16af4
Change docker tags to a wpu specific tag
2021-04-25 08:14:00 -04:00
Imbris
f2d97345e5
Display gpu timing info in the HUD when enabled
2021-04-25 08:14:00 -04:00
Imbris
f736c180b8
Try out using storage buffer for sprite vertices
2021-04-25 08:14:00 -04:00
Imbris
66ed2c704e
Fix bugs with sprite rendering
2021-04-25 08:14:00 -04:00
Imbris
29667df57e
Fix sprite vertex lookup, normalize sprite
...
normals in vert shader
2021-04-25 08:14:00 -04:00
Imbris
b0b724031e
Almost implement instance merging for sprites (validation error), rebase
...
fix
2021-04-25 08:14:00 -04:00
Imbris
ae8a5e0ca2
Start sprite refactor
2021-04-25 08:14:00 -04:00
João Capucho
c683c35646
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-25 08:14:00 -04:00
João Capucho
71e2ee83aa
Fix scissor panic
...
Removes the Scale::physical_resolution method as it could become
desynced from the renderer resolution causing the panic
2021-04-25 08:14:00 -04:00
João Capucho
2fef679623
Update to the most recent wgpu
2021-04-25 08:14:00 -04:00
Imbris
522eea0a74
Fix texture sampling syntax
2021-04-25 08:14:00 -04:00
Imbris
5de8099bd3
Switch to index rendering for most quad-like things
2021-04-25 08:14:00 -04:00
Imbris
d1748884b9
Small fixes to gpu profiling
2021-04-25 08:14:00 -04:00
Imbris
8d8ea55830
Update to the latest wgpu git
2021-04-25 08:14:00 -04:00
Imbris
03acb63667
Implement toggleable gpu profiling that saves the timings from a recent frame with the screenshot key, rebase fixes
2021-04-25 08:14:00 -04:00
Imbris
75731714e5
WIP gpu timer thing (not for squashing!)
2021-04-25 08:14:00 -04:00
Imbris
af5d44e5bb
Update wgpu to fix segfault
2021-04-25 08:14:00 -04:00
Imbris
899efde23f
Fix char select shadows by clearing shadow textures
2021-04-25 08:14:00 -04:00
Imbris
923685d515
Add setting for the PresentMode
2021-04-25 08:14:00 -04:00
Imbris
2035664d62
fix nametag depth culling as well as a tweak to maybe make the main menu not flicker on intel iGPU
2021-04-25 08:14:00 -04:00
Imbris
482f9780d9
Fix lod alt texture filtering
2021-04-25 08:14:00 -04:00
Imbris
ab4904b5c6
Resolve validation errors with trying to use unsupported filtering modes
2021-04-25 08:14:00 -04:00
Joshua Barretto
3fb950f755
Corrected shadow cull mode
2021-04-25 08:14:00 -04:00
Imbris
322a16bced
Update to latest wgpu git (around 0.7), temporarily disable shader validation due to naga bug, rebase fixes!!
2021-04-25 08:14:00 -04:00
Imbris
4f901986da
Remove wgpu patch/update wgpu, rebase fixes, remove use of deprecated
...
vek functions for left, right, up, down, forward_rh, forward_lh
2021-04-25 08:14:00 -04:00
Imbris
247fde8e8a
Comment out secondary backends
2021-04-25 08:14:00 -04:00
Imbris
b5e81ba9bb
Avoid extra set_pipeline calls
2021-04-25 08:14:00 -04:00
Imbris
9123d468a8
Properly rebind shadow textures when they are changed
2021-04-25 08:14:00 -04:00
Joshua Yanovski
73621a45b1
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-25 08:14:00 -04:00
Joshua Yanovski
e5ef8b31ca
Fix point shadows.
2021-04-25 08:14:00 -04:00
Joshua Yanovski
46a4103890
Fix directed shadows, mostly.
2021-04-25 08:14:00 -04:00
Imbris
64bd6af3d4
Suppress wgpu_core::device info logging
2021-04-25 08:14:00 -04:00
Joshua Yanovski
697f63455a
More frustration with shadows.
2021-04-25 08:14:00 -04:00
Joshua Yanovski
7299746b1a
Various fixes for shadows.
2021-04-25 08:14:00 -04:00