165 Commits
Author SHA1 Message Date
Serhii Plyhun f59c6f9f2f Scissor test 2019-04-29 22:34:03 +02:00
Dzmitry Malyshau f0f78eed85 Track epochs of the frame semaphores to wait for 2019-04-03 17:50:01 -04:00
Dzmitry Malyshau 06201ce39a Update changelog and versions 2019-03-31 14:14:01 -04:00
Dzmitry Malyshau bfefe690e8 Rename expectation to LayoutChange 2019-03-31 14:13:59 -04:00
Dzmitry Malyshau 53749ce604 Validate resource types against the bind group layout 2019-03-29 18:41:59 -04:00
Dzmitry Malyshau e964675750 Fix submission tracking 2019-03-29 16:50:38 -04:00
Dzmitry Malyshau 7a41a626a5 Track bind group compatibility across the whole pipeline 2019-03-29 12:19:27 -04:00
Dzmitry Malyshau c82a3c9737 Validate bind group compatibility 2019-03-29 00:30:38 -04:00
Dzmitry Malyshau 6ddaedf0fb Blend color and the first bits of validation 2019-03-28 23:54:26 -04:00
Dzmitry Malyshau 655e06da60 Fix descriptor size, bump versions 2019-03-20 13:42:27 -04:00
Dzmitry Malyshau 11ac80d1ec Bump the descriptor pool size 2019-03-20 12:10:29 -04:00
Dzmitry Malyshau 2a929b12a4 Validate uniform buffer alignments, enforce map alignment 2019-03-20 12:10:23 -04:00
Dzmitry Malyshau 690fd29480 Version bump to 0.2.2 2019-03-20 00:28:06 -04:00
Dzmitry Malyshau 43e56961c4 Enable windows in Travis 2019-03-20 00:28:06 -04:00
Dzmitry Malyshau 32351b074b Enable repr(C) for Id 2019-03-20 00:28:06 -04:00
Dzmitry Malyshau c72931b097 Version bump to 0.2.1 2019-03-19 00:04:20 -04:00
Dzmitry Malyshau 6368a9fba4 Helpful error message on empty backend 2019-03-18 11:00:43 -04:00
Lain-dono b6dbe3960b Fix vertex format mapping 2019-03-18 09:52:52 -04:00
Dzmitry Malyshau 0bb4daa696 Version bumps to 0.2.0 2019-03-06 10:02:43 -05:00
Tristam MacDonald 1fe59e71db run cargo fmt 2019-03-05 20:41:24 -08:00
Tristam MacDonald 6ef53d7705 Convert shadow sample to map_async 2019-03-05 19:04:21 -08:00
Dzmitry Malyshau ecaacfa20e Force wait for GPU before releasing the old swapchain 2019-03-05 14:14:28 -05:00
Dzmitry Malyshau 650bbaeb42 Basic render pipeline compatibility check 2019-03-03 22:09:20 -05:00
152fad43c3 Merge #84 #85
84: Create buffer mapped r=kvark a=swiftcoder

I haven't really taken a swing at error handling here, posting it up early for feedback on the API.

85: Unpin nightly date for bindings generation r=kvark a=grovesNL

rust-lang/rust#57915 allows us to run bindings generation with nightly again, so we shouldn't have to pin to an older nightly date anymore (assuming everyone has a recent nightly).

Co-authored-by: Tristam MacDonald <tristam@trist.am>
Co-authored-by: Joshua Groves <josh@joshgroves.com>
2019-03-01 18:42:35 +00:00
Steven Wittens cf3e1a5ac6 Add vertex formats 2019-03-01 10:48:12 +01:00
Tristam MacDonald d179b5a85c Create buffer mapped 2019-02-28 20:11:29 -08:00
bors[bot]andSteven Wittens 370236330f Merge #82
82: Add updated texture formats r=kvark a=unconed

Adds the texture formats from:
https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl


Co-authored-by: Steven Wittens <steven@acko.net>
2019-02-28 14:50:35 +00:00
Steven Wittens 9151510b24 Add updated texture formats 2019-02-28 06:32:26 +01:00
Tristam MacDonald 0f85eb86a1 Buffer tracking and unmapping
Adds preliminary transitioning of buffers to mapped state.
Adds buffer unmapping to the cube sample.
Modifies wgpu_queue_submit to not hold a write lock on the device during callbacks.
2019-02-27 21:15:47 -08:00
Dzmitry Malyshau 8ad1476872 Fix tracking of the set_sub_data service command buffer 2019-02-27 08:31:38 -05:00
Dzmitry Malyshau 76473bb38a Stitch mode for insert_barriers 2019-02-26 23:56:38 -05:00
Dzmitry Malyshau cc5900b160 Refactor the view tracker 2019-02-26 23:05:36 -05:00
Dzmitry Malyshau 0d59c16f16 Refactor insert_barriers 2019-02-26 22:55:04 -05:00
Dzmitry Malyshau d631b2c6f2 Fix depth clamping semantics 2019-02-26 22:36:58 -05:00
Dzmitry Malyshau cdc9d65395 Free memory objects 2019-02-26 15:10:43 -05:00
Dzmitry Malyshau f0e245e4dc Cleanup unused framebuffers 2019-02-26 11:21:31 -05:00
Dzmitry Malyshau f2365ea71e Unify the texture view creation 2019-02-26 10:28:08 -05:00
Dzmitry Malyshau 5b129704a0 Storage indexing 2019-02-26 10:27:51 -05:00
Dzmitry Malyshau ce08429729 Make Id serializable 2019-02-26 10:12:11 -05:00
Dzmitry Malyshau e16ceafb81 Epoch tracking of indices 2019-02-26 10:12:11 -05:00
Dzmitry Malyshau bd0de53f8e First bits of wgpu-remote 2019-02-26 10:10:07 -05:00
Tristam MacDonald 8431da80ed Implement map read/write async 2019-02-26 06:45:07 -08:00
Dzmitry Malyshau 616a3dd849 Fix leaking swapchain textures 2019-02-22 22:23:52 -05:00
Dzmitry Malyshau cfe3da1c6f Remove the outdated frame concept in favor of aggressive swapchain re-creation 2019-02-22 18:43:19 -05:00
Dzmitry Malyshau 5ada8d9943 Fix full_range of arrays 2019-02-22 13:53:28 -05:00
Dzmitry Malyshau c21420399a Refactored tracking, now includes the views 2019-02-22 12:59:29 -05:00
Dzmitry Malyshau 957a5b57dd Rust side of the shadow example 2019-02-22 12:59:29 -05:00
Dzmitry Malyshau 14ee80f463 Update the trackers on resource destruction 2019-02-21 15:59:24 -05:00
Dzmitry Malyshau 28551103c2 Fix old outdated frame cleanup 2019-02-21 15:59:24 -05:00
Dzmitry Malyshau f2a0e6fe15 Swapchain resize, merged with the surface 2019-02-21 15:59:24 -05:00