Commit Graph

114 Commits

Author SHA1 Message Date
aaa9255c8e Lower rather than raise priorities. 2022-09-16 18:04:23 -07:00
39225cdbd5 Trying to reduce locking during allocation again... 2022-09-09 02:41:23 -07:00
ac5ae40baf Maybe fix out of VRAM issues for some people. 2022-09-08 10:16:03 -07:00
ead5f65e05 Bump gpu_alloc, help fix memory leak. 2022-08-30 21:56:18 -07:00
83ca01e42d Asynchronously wait if jobs are using too many buffers at once, and drop
tasks from a frame all in one job to maximize the likelihood that it
actually runs.
2022-08-30 12:19:29 -07:00
6cbf6a7237 Attempt to avoid calling the driver's allocator within critical sections
(unless it's going to be immediately memory mapped).
2022-08-28 17:34:02 -07:00
9453a1e463 In wgpu, take slightly more conservative locks.
I don't think this should actually affect anything in Veloren but it's
probably required for correctness in general.
2022-08-26 17:16:28 -07:00
0dd52f9f11 Fixing screenshots. 2022-08-23 08:00:40 -07:00
5a5f2b391f Changes to wgpu to hopefully improve scalability? 2022-08-23 00:54:08 -07:00
9863670169 Stdlib RwLock in wgpu, update rust-toolchain to some extent. 2022-08-18 18:49:44 -07:00
a0b7fefef6 Removed codegen unit restriction for dev builds 2022-07-04 14:18:18 -04:00
fa49248c31 switch to upstream vek again 2022-04-28 09:10:55 +02:00
5df3d60e95 Some changes to help with profiling and cleaning up aliases in .cargo/config. Removed incremental override since incremental is no longer turned off by default in rustc. Remove -Zuntable-options from several aliases because the --profile option is now stable. Added shader-from-source feature to aliases for voxygen that turn off the default features 2022-02-13 22:58:24 -05:00
6feb2d53ca Remove incremental disabling for crates that still had it disabled, the issues should be fixed 2021-11-22 01:46:01 -05:00
5500435d2f Revert "Replace shaderc with naga"
This reverts commit 446d93dda0.
2021-09-04 11:59:18 -07:00
446d93dda0 Replace shaderc with naga 2021-08-31 22:53:10 +01:00
ad1f6a5304 Revert "Merge branch 'xvar/wgpu-0.9' into 'master'"
This reverts merge request !2566
2021-07-07 22:07:00 +00:00
88bb160336 Updated wgpu to 0.9.0 and egui to 0.13.0 2021-07-06 07:32:27 +01:00
b499cf2c58 Added egui debug UI - a 100% rust UI framework (similar to imgui) allowing for rapid development of debug interfaces to aid development. This is feature-gated behind the egui-ui feature which is enabled by default but removed for airshipper builds.
Included in the initial implementation is an entity browser which lists all entities in the client ECS, an entity component viewer which shows select components belonging to the selected entity including character state information, and a simple frame time graph.

This MR also includes an extraction of the animation hot reloading code which has been reused for egui to allow for hot-reloading of the egui interface to allow rapid development of the UI with realtime feedback upon save as is the case with aninmations. This is feature-gated behind the `hot-egui` feature which is not enabled by default due to the extra startup time that it adds.
2021-07-04 09:47:18 +00:00
1af6f685d1 Enabled debug lines for Veloren crates only to significantly reduce binary size 2021-06-17 15:19:25 +01:00
b7162ac15c Upgrade to winit 0.25 2021-06-15 22:59:54 -04:00
9d9c0a045d Merge branch 'imbris/release-tweak' into 'master'
Add debug line tables and avoid building unwinding landing pads in release builds

See merge request veloren/veloren!2446
2021-06-16 02:17:49 +00:00
3e79972061 Merge branch 'capucho/wgpu-format-fixes' into 'master'
Update wgpu and check for best swap chain format

See merge request veloren/veloren!2454
2021-06-16 01:24:05 +00:00
e5f23eb41a Add debug line tables and avoid building unwinding landing pads in release builds 2021-06-15 21:14:49 -04:00
fd480fdfbc build(nix): fix shaderc lib 2021-06-13 19:29:28 +03:00
cc566abe5c Update wgpu and check for best swap chain format 2021-06-09 21:15:37 +01:00
05cbaff682 build(nix): add new dependencies to nix build and dev env for wgpu 2021-06-04 00:08:02 +03:00
2b8eaae572 Update wgpu, cleanup a bit of commented shader code, improve sprite LOD selection code 2021-06-03 00:10:06 -04:00
99998b9870 Use profling to get spans from wgpu, update wpgu & its deps for various
fixes
2021-06-03 00:10:06 -04:00
ffdf7012bc Update wgpu to fix dx11 issue 2021-06-03 00:10:06 -04:00
1647c9d607 Update wgpu to latest version and improve error formating 2021-06-03 00:10:06 -04:00
76c7161364 Update wgpu to get gfx-hal update that fixes the dx12 depth cube view construction issue 2021-06-02 23:59:50 -04:00
aa2c7721fe 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
ceaa20c668 Update wgpu 2021-06-02 23:59:50 -04:00
e04970addd 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
f5dc871c59 Update to the most recent wgpu 2021-06-02 23:59:49 -04:00
22d67d4cc1 Update to the latest wgpu git 2021-06-02 23:59:49 -04:00
7a67ce87e7 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
c532f50e64 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
c22dc6697c Reenable non-player figure drawing 2021-06-02 23:59:48 -04:00
a97ba961a4 Update dependencies 2021-06-02 23:59:47 -04:00
d9c523ba0d Make compile through various changes, update wgpu to latest git 2021-06-02 23:56:43 -04:00
1a092be2a1 Re-disable incremental for veloren-network-protocol, switch back to
`veloren-docker` tagged runners
2021-06-01 13:35:03 -04:00
23eca4c3f6 Re-disable incremental just for common-systems, small fix in plugin
crate, more new clippy fixes
2021-05-31 20:44:57 -04:00
48ebb10d50 Update toolchain 2021-05-31 20:44:57 -04:00
735e8ab4ec Extract common/src/assets.rs to own crate
This gives us ability to use assets-related code in i18n without
depending on whole veloren-common
2021-05-09 13:12:26 +03:00
5573fc33b9 Extract voxygen/src/i18n.rs into own crate
- New crate (i18n), currently under voxygen directory
- Updated CI to run localization test from i18n, not from voxygen
2021-05-09 13:12:26 +03:00
57cddb3ee3 Extract localization test to binary
- Implement `--all` option
- Implement `--lang <code>` option
- Implement `--verify` command
2021-05-09 13:12:25 +03:00
685f4971ac build(nix): switch to crate2nix 2021-04-27 05:18:12 +03:00
1af4a04231 Revert "Merge branch 'revert-b10718c5' into 'master'"
This reverts merge request !2172
2021-04-21 17:10:13 +00:00