Connor Fitzgerald
cf6f9c3ca8
Move from tracing to log + profiling
2021-03-17 01:22:30 -04:00
Dzmitry Malyshau
231bba03a1
Lint all the things
2021-03-12 12:39:04 -05:00
Andreas Reich
3486fde638
Fix crash on zero init of buffer with no more ref count
...
Previously, if a buffer would no longer have any reference, the zero init step crashed when trying to unwrap its ref_count.
2021-02-06 11:11:10 +01:00
Connor Fitzgerald
a22037ced0
Add pipeline statistics and timeline queries
2021-01-16 00:48:54 -05:00
Dzmitry Malyshau
922f2c0977
Check swapchain frame to still be in use
2021-01-04 17:03:16 -05:00
Dzmitry Malyshau
a7e573d612
Fix range tracker merging
2021-01-04 13:41:25 -05:00
Dzmitry Malyshau
46b87e220c
Stop using Borrow<RefCount>
2020-11-21 10:38:20 -05:00
Dzmitry Malyshau
c87a94f976
Early texture destruction
2020-10-08 23:21:11 -04:00
Dzmitry Malyshau
0a7d81351c
Handle cases where buffer contents are destroyed
2020-10-08 12:57:17 -04:00
Adam Nemecek
db1870e7fc
use self
2020-09-25 19:11:46 -07:00
Dzmitry Malyshau
0345c56758
Properly implement compute pass usage scopes
2020-09-23 19:01:47 -04:00
Dzmitry Malyshau
d1da6d8106
Switch gfx-hal to 0.6
2020-08-17 10:34:50 -04:00
Dzmitry Malyshau
dbd7e2c579
Separate valid internal IDs from external ones
2020-08-04 11:16:59 -04:00
Connor Fitzgerald
cb485f3798
Convert all logging to tracing and add fmt logger
2020-07-25 19:33:21 -04:00
Gabriel Majeri
cbca43258f
Convert MAX_MIP_LEVELS to u32
2020-07-19 20:42:33 +03:00
Dzmitry Malyshau
e3280aa643
Deduplicate BindGroupLayout by value
2020-06-27 11:13:18 -04:00
Dzmitry Malyshau
365f4e8786
Remove peek-poke.
...
There was a lot of highly unsafe use of serialization based on peek-poke that we
weren't entirely happy with. It's replaced by just serializing the passes now.
Also, switch BufferSize to Option<NonZero>.
2020-06-20 00:39:11 -04:00
Dzmitry Malyshau
8ebfdb0c34
Rewrite the render attachment tracking using the new prepend() operation.
2020-06-12 19:54:50 -04:00
Dzmitry Malyshau
7aa5753701
Re-architecture the bundles using normalized command streams.
...
This is a major change in how the bundles are implemented. Instead of
transparently injecting them into the pass command stream, we are now
treating bundles as first-class API objects and API tracing them
accordingly. The bundle contains a normalized command stream that is
very easy to inject into a native command buffer multiple times.
2020-06-11 15:34:45 -04:00
Dzmitry Malyshau
aa12e7dc14
Read-only depth-stencil support
2020-06-01 19:54:56 -04:00
Dzmitry Malyshau
5e458b5d45
Separate public usage from internal use ( #601 )
2020-04-21 09:12:40 -04:00
Dzmitry Malyshau
379ea37982
Comment fixes, header update
2020-04-13 18:48:08 -04:00
Dzmitry Malyshau
920c00931d
Fix tracking of the initial state during replacement.
...
When multiple "replace" style transitions are happening,
we weren't properly retaining the "first" state, which
is required for proper stitching of command buffers.
This logic is fixed and fortified with a new set of
"change" and "merge" tests in the track module.
2020-04-10 00:39:23 -04:00
Dzmitry Malyshau
a3aefe2535
Rustfmt stable pass
2020-04-06 08:55:39 -04:00
Dzmitry Malyshau
f07943f2d8
Use NonZeroU64 for Id
2020-04-04 19:43:16 -04:00
Dzmitry Malyshau
8aeeb8e318
Port to gfx-extras and gfx-hal-0.5
2020-03-27 00:54:01 -04:00
Dzmitry Malyshau
5e2f200223
Track GPU use of compute and render pipelines ( #534 )
2020-03-24 19:28:26 -04:00
Joshua Groves
b58c15815b
Move more shared types into wgpu-types
2020-03-14 23:08:05 -02:30
Joshua Groves
9940aef599
Move some types into shared wgpu-types crate
2020-03-10 22:36:23 -02:30
Dzmitry Malyshau
b9e7449b43
Fix building on Rust 1.37
...
It doesn't like by-move pattern with an `if`
2020-01-23 00:52:04 -05:00
yanchith
0d9ad70468
Add TODOs for range_plus_one clippy warnings
2020-01-17 14:44:17 +01:00
Dzmitry Malyshau
92441c38a2
Fix missing transitions before the render pass
2020-01-13 16:52:58 -05:00
Dzmitry Malyshau
bcf533fd89
Refactor usage tracker init()
2020-01-08 23:19:52 -05:00
Dzmitry Malyshau
017a54ff97
Refactor usage tracking to be truly sparse
2020-01-08 22:43:19 -05:00
Dzmitry Malyshau
bf8c9fe27b
Make device tracker to be the last home for destroyed resources
2020-01-08 18:13:43 -05:00
Dzmitry Malyshau
7be921495d
Fix clippy warnings and errors
2020-01-04 13:20:28 -05:00
Dzmitry Malyshau
c0d6cf18e1
Refactor tracker initializers
2019-12-17 00:19:39 -05:00
Dzmitry Malyshau
d74c8cb5ae
Refactor tracker stitches
2019-12-17 00:19:39 -05:00
Dzmitry Malyshau
38305c62f3
Fix tracking of render pass attachments
2019-12-15 23:10:38 -05:00
Dzmitry Malyshau
98d28caffc
Refactor internal texture tracking format
2019-11-18 22:07:15 -05:00
Dzmitry Malyshau
4e57c42c71
Initialize trackers with full selector - part 2
2019-11-18 09:20:16 -05:00
Dzmitry Malyshau
0569bc6956
Initialize trackers with full selector
2019-11-18 00:21:13 -05:00
Dzmitry Malyshau
6c632d1366
Separate native from the core
2019-11-16 00:36:23 -05:00