Dzmitry Malyshau
74e9e89fe7
Refactor tracking of swapchain images as attachments
...
We were improperly detecting if a swapchain image has already
been used by a command buffer. In this case, we need to assume
that it's already in the PRESENT state.
2020-04-10 00:38:53 -04:00
Aaron Loucks
b6ec8440e9
Increase default maximum vertex buffer inputs from 8 to 16
...
Additionally, the input states are now stored in a `SmallVec` to
enable higher limits.
Fixes #558
2020-04-07 21:00:06 -04:00
Dzmitry Malyshau
a3aefe2535
Rustfmt stable pass
2020-04-06 08:55:39 -04:00
Rukai
99161cbeb5
Use crates.io release of peek-poke
2020-04-05 23:06:02 -04:00
bors[bot] and Kunal Mohan
8f9f13fc8c
Merge #550
...
550: Add check for bound pipeline r=kvark a=kunalmohan
fix #456
Validate that a pipeline is bound before issuing any draw/dispatch call.
Co-authored-by: Kunal Mohan <kunalmohan99@gmail.com >
2020-04-05 19:58:26 +00:00
Kunal Mohan
aef0c7c2c4
Add check for bound pipeline
...
fix #456
Validate that a pipeline is bound before issuing
draw/dispatch call.
2020-04-05 11:16:50 +05:30
Dzmitry Malyshau
f07943f2d8
Use NonZeroU64 for Id
2020-04-04 19:43:16 -04:00
Joshua Groves
f3bb6eb230
Move more types to wgpu-types
2020-03-27 23:26:17 -02:30
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
Dzmitry Malyshau
0a30cf4b46
Recycled identity management ( #533 )
2020-03-24 19:18:42 -04:00
Joshua Groves
b9259c0c8c
Move more types into wgpu-types
2020-03-16 23:57:50 -02:30
Joshua Groves
b58c15815b
Move more shared types into wgpu-types
2020-03-14 23:08:05 -02:30
Dzmitry Malyshau
095f320470
Wholesome spec update.
...
Biggest change is that buffer binding is done one by one. There is a number of renamings of the fields, also the binding types are expanded.
2020-03-13 23:59:05 -04:00
Joshua Groves
9940aef599
Move some types into shared wgpu-types crate
2020-03-10 22:36:23 -02:30
Kartikaya Gupta
b5ba17012a
Update WebGPU to mozilla-central from hg rev 0f1a8e4c6a76b3b0b16902c7fdfe2356c60ca351
2020-02-20 15:49:32 -05:00
Dzmitry Malyshau
a0759b983d
Fix binding compatibility of an absent group
2020-02-16 20:17:53 -05:00
Dzmitry Malyshau
e05471ad6d
Encode render targets into the render pass blob
2020-02-10 12:44:44 -05:00
Dzmitry Malyshau
ab416bcc68
All the missing Gecko fixes
2020-02-09 20:15:55 -05:00
Dzmitry Malyshau
8a5de68aab
Refactor the swap chain frame tracking
2020-01-21 14:24:45 -05:00
yanchith
ab205b042c
Add # Safery docs to wgpu-core
2020-01-17 16:15:05 +01: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
f798f7c631
Add missing render pass methods
2020-01-13 16:52:58 -05:00
Dzmitry Malyshau
e0574ee899
Remove the old render and compute passes
2020-01-13 16:52:58 -05:00
Dzmitry Malyshau
40ac14e92c
Switch the examples to use the new raw passes
2020-01-13 16:52:58 -05:00
Dzmitry Malyshau
941fcca08d
Raw render pass encoding
2020-01-13 16:52:58 -05:00
Dzmitry Malyshau
c01a7c6abe
Use peek-poke for compute pass encoding
2020-01-13 16:52:58 -05:00
Dzmitry Malyshau
20cd803d67
Standalone render passes
2020-01-13 16:52:58 -05:00
Dzmitry Malyshau
7808a4d4cd
Stand-alone compute passes
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
bbe0d7df1b
Command buffer/encoder destruction
2020-01-08 18:14:45 -05:00
Dzmitry Malyshau
040efa2820
Fix refcount use of the texture view source
2020-01-08 18:13:43 -05:00
Dzmitry Malyshau
bf8c9fe27b
Make device tracker to be the last home for destroyed resources
2020-01-08 18:13:43 -05:00
Layl
a221ca1c12
Fix cmd buffer cleanup not always using lowest active index
2020-01-08 01:17:58 +01:00
Dzmitry Malyshau
7be921495d
Fix clippy warnings and errors
2020-01-04 13:20:28 -05:00
Layl
ac8f75288f
Use current active list instead of storing last done
2020-01-02 01:33:45 +01:00
Layl
b55cd162bf
Defer command buffer recycling until allocate
2020-01-02 01:33:45 +01: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
109253247d
Track render pass attachments in the pass tracker
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
bd24c20d4c
Fix lock token lifetimes
2019-12-08 17:00:30 -05:00
bors[bot] and Dzmitry Malyshau
2006c07a57
Merge #387
...
387: Stop dynamic offset iteration when the bind groups stop r=grovesNL a=kvark
Fixes #386
I imagine the code is not performance-optimal and could be improved. This PR focuses on correctness.
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2019-11-29 02:08:19 +00:00
Dzmitry Malyshau
605620b20c
Buffer creation in wgpu-remote
2019-11-28 17:18:25 -05:00
Dzmitry Malyshau
0880986a97
Stop dynamic offset iteration when the bind groups stop
2019-11-28 14:36:36 -05:00
Dzmitry Malyshau
4e57c42c71
Initialize trackers with full selector - part 2
2019-11-18 09:20:16 -05:00
Dzmitry Malyshau
6c632d1366
Separate native from the core
2019-11-16 00:36:23 -05:00