Benoît du Garreau
e7269e72f3
Upgrade arrayvec to 0.7
2021-07-06 00:45:24 +02:00
Dzmitry Malyshau
ba006cfaa7
Rename ColorWrite, TextureUsage, and BufferUsage
2021-06-30 14:57:38 -04:00
Dzmitry Malyshau
568ac3fa24
Switch all bitflag names to plural
2021-06-30 14:43:36 -04:00
Dzmitry Malyshau
cfed43face
Update submission indices on all stateless resources
2021-06-24 01:40:18 -04:00
Dzmitry Malyshau
c2f879b4f7
Don't merge stateless trackers from bind groups
2021-06-23 15:28:40 -04:00
Gordon-F
2873ac32d9
Remove MPL 2.0 header in files
2021-06-19 21:06:08 +03:00
Dzmitry Malyshau
80ab18404e
Change the order to suspect temporary resources earlier
2021-06-18 02:49:46 -04:00
Dzmitry Malyshau
7410b700d6
fix swapchain recycling, copies, device destruction, RODS
2021-06-16 23:18:50 -04:00
Dzmitry Malyshau
ff2a3e84fc
update synchronization, fix last errors in wgc
2021-06-08 02:03:44 -04:00
Dzmitry Malyshau
0a82c232ba
hal: port the rest of wgpu-core
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
6d51fab864
hal:: Fill the command buffer calls
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
0ea4cac04b
Rework shader and pipeline creation
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
569cd0cdd6
WIP new wgpu-hal
2021-06-08 00:46:08 -04:00
Dzmitry Malyshau
7b7e72b1c2
Split the tracker into stateful/stateless to reduce the overhead
2021-05-31 14:18:44 -04:00
Dzmitry Malyshau
191f33871b
Don't panic on change_extend errors
2021-04-08 12:03:46 -04:00
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