645 Commits

Author SHA1 Message Date
bors[bot] 55aab54b4e Merge #465
465: [0.4] Refactor the swap chain frame tracking r=kvark a=kvark

On the surface, it gets us from "key not present" to "Used swap chain frame has already presented" in the case of an application presenting before submitting a command buffer. But the worst thing is that we used to lock up the driver on that presentation, so now the problem is much less mysterious.
cc @snuk182 

Fixes #458
Works around #227 

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
Co-authored-by: Korijn van Golen <k.vangolen@clinicalgraphics.com>
2020-01-21 18:54:45 +00:00
Korijn van Golen 9f017f4e29 configure rust msvc toolchain on windows on travis 2020-01-20 16:31:18 -05:00
Dzmitry Malyshau 6716556992 Optionally request vertex shader stores and atomics 2020-01-20 14:42:16 -05:00
Dzmitry Malyshau 2fe7b5d95a Fix support for SHADER_READ buffers 2020-01-20 14:40:30 -05:00
Dzmitry Malyshau 5587bc8600 Refactor the swap chain frame tracking 2020-01-20 11:05:59 -05:00
bors[bot] b7182e690b Merge #410
410: [0.4] Fix tracking of render pass attachments r=grovesNL a=kvark

Fixes #407
Also improves the debug output of the tracker.

Filed #409 for addressing this better.

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-12-17 02:57:43 +00:00
Dzmitry Malyshau 0e8e806a1b Fix tracking of render pass attachments 2019-12-15 22:52:22 -05:00
bors[bot] 073c7d779d Merge #389
389: [0.4] Transition and binding fixes r=grovesNL a=kvark

Back-ports #387 as well as a tiny bit of #378 to v0.4 branch and bumps the patch version.
Fixes  #384

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-11-29 03:04:29 +00:00
Dzmitry Malyshau 27d88fa9e6 Version bump to 0.4.1 2019-11-28 17:13:32 -05:00
Dzmitry Malyshau 48c81f5d54 Stop dynamic offset iteration when the bind groups stop 2019-11-28 16:35:42 -05:00
Dzmitry Malyshau 5f9158f028 Fix depth-stencil transition aspects 2019-11-28 16:30:51 -05:00
bors[bot] 951641dcc5 Merge #373
373: Release preparations for 0.4 r=kvark a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
v0.4.0
2019-11-04 00:33:07 +00:00
Dzmitry Malyshau 9ffcbe5f9d Release preparations 2019-11-03 18:52:57 -05:00
bors[bot] c33b1e81fd Merge #372
372: Followup for #356 - fix incorrect check r=kvark a=parasyte

@kvark This fixes the fix created in #356 

The original patch is checking the _requested descriptor limits_, but the backend limits are what needs to be checked for this edge case.

Co-authored-by: Jay Oster <jay@kodewerx.org>
2019-11-02 23:35:55 +00:00
Jay Oster 5a7b16076c Followup for #356 - fix incorrect check 2019-11-02 15:25:32 -07:00
bors[bot] 12d4108ca8 Merge #367
367: Support rendering to the swapchain from multiple command buffers r=jazzay a=kvark

Fixes #366

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-11-02 12:12:50 +00:00
bors[bot] 14c3583ba2 Merge #371
371: Don't depend on gfx-auxil r=straightforward a=kvark

Problem with gfx-auxil is that version 0.1 drags spirv_cross dependency (not needed on Vulkan), and the published crates haven't been switched to gfx-auxil-0.2

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-11-02 04:26:04 +00:00
Dzmitry Malyshau cb692620ca Don't depend on gfx-auxil 2019-11-02 00:24:36 -04:00
bors[bot] 505096d027 Merge #369
369: return Result instead of panic r=kvark a=antonok-edm

Fixes https://github.com/gfx-rs/wgpu-rs/issues/106

Pretty simple implementation, let me know if this isn't sufficient

Co-authored-by: Anton Lazarev <antonok35@gmail.com>
2019-11-01 18:20:40 +00:00
Anton Lazarev 027a61a48d return Result instead of panic 2019-11-01 11:11:43 -07:00
Dzmitry Malyshau 52b9d061f4 Support rendering to the swapchain from multiple command buffers 2019-10-31 10:14:48 -04:00
bors[bot] b8d26c9186 Merge #363
363: Extended remote example r=kvark a=kvark

The remote example is now successfully able to request an adapter and to clean up the IDs.
In the near future, we need to change the example so that the server is run on a different thread...

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-10-30 03:24:05 +00:00
Dzmitry Malyshau 384de9ca52 Properly dispose of DescriptorAllocator 2019-10-29 15:45:48 -04:00
Dzmitry Malyshau ff1adb34d9 Fix destroy_instance warning 2019-10-29 15:30:30 -04:00
Dzmitry Malyshau 4635f1eb07 Extended remote example 2019-10-29 13:31:40 -04:00