Commit Graph

297 Commits

Author SHA1 Message Date
bors[bot]
79b366e97f Merge #143
143: [0.2] Scissor test r=kvark a=snuk182

A backport of scissor test from master to 0.2.

Co-authored-by: Serhii Plyhun <snuk188@gmail.com>
2019-04-29 20:38:39 +00:00
Serhii Plyhun
f59c6f9f2f Scissor test 2019-04-29 22:34:03 +02:00
Dzmitry Malyshau
1d26225d5c
Update CHANGELOG.md 2019-04-04 12:29:11 -04:00
bors[bot]
c9cc3f374c Merge #120
120: [0.2] Fix waiting on frame semaphores, plus check the epochs r=grovesNL a=kvark

Sibling of #119

Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
2019-04-04 12:20:07 +00:00
Dzmitry Malyshau
f0f78eed85 Track epochs of the frame semaphores to wait for 2019-04-03 17:50:01 -04:00
bors[bot]
c8094bd004 Merge #114
114: [0.2] First bits of draw call validation, better submission tracking r=grovesNL a=kvark

Fixes #113 

Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
2019-03-31 18:30:15 +00:00
Dzmitry Malyshau
06201ce39a Update changelog and versions 2019-03-31 14:14:01 -04:00
Dzmitry Malyshau
4f08d2d8ca Fix the triangle examples 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
bors[bot]
d4126d723d Merge #110
110: [0.2] Higher default descriptor pool limits, better buffer offsets for mapping and descriptors r=msiglreith_with_one_eye a=kvark

The descriptor pool sizes are temporary until we get automatic descriptor management.
~~Based on #109~~

With this in, we are tracking all resources correctly and we only get a few Vulkan validation errors at start (related to compositing), which is a great improvement.

Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
2019-03-20 17:43:35 +00: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
bors[bot]
5be4295a3e Merge #109
109: V0.2 windows fix r=travis a=kvark



Co-authored-by: Joshua Groves <josh@joshgroves.com>
Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
2019-03-20 15:03:51 +00:00
Dzmitry Malyshau
13215ced93 Disable the native example on CI 2019-03-20 09:51:54 -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
Joshua Groves
dc26480ddb Add nested designated initialization 2019-03-20 00:28:06 -04:00
Joshua Groves
ebdc9ad27f Start rendering C example again 2019-03-20 00:28:06 -04:00
Joshua Groves
fddacedfde Start to update C example 2019-03-20 00:28:06 -04:00
bors[bot]
de2d0ecb9e Merge #107
107: V0.2 hot fix for vertex buffers r=grovesNL a=kvark



Co-authored-by: Lain-dono <lain.dono@gmail.com>
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-03-19 04:25:07 +00: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
bors[bot]
e1c9cb2781 Merge #93
93: run cargo fmt r=kvark a=swiftcoder

Since we have a little downtime, let's see how awful this is :)

Co-authored-by: Tristam MacDonald <tristam@trist.am>
2019-03-06 14:35:41 +00:00
Tristam MacDonald
1fe59e71db run cargo fmt 2019-03-05 20:41:24 -08:00
bors[bot]
643a34fec3 Merge #92
92: Add changelog r=grovesNL a=kvark

we'll merge after all the release-required PRs are done

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-03-06 04:02:46 +00:00
Dzmitry Malyshau
7149ba83ba Update dx11 dependency in the lockfile 2019-03-05 23:01:13 -05:00
Dzmitry Malyshau
85596a31a8 Add changelog 2019-03-05 22:57:40 -05:00
bors[bot]
94e5415635 Merge #87
87: Convert shadow sample to map_async r=kvark a=swiftcoder

Works great under Vulkan, but there's a bug that pauses the whole app after about a second under DX12. I don't think I introduced the bug, but it's hard to tell since we don't have a before state for DX12.

I'm going to send some ergonomic and validation improvements for buffer mapping in another PR, because while debugging this I ran into some rough edges.

Co-authored-by: Tristam MacDonald <tristam@trist.am>
2019-03-06 03:44:54 +00:00
Tristam MacDonald
6ef53d7705 Convert shadow sample to map_async 2019-03-05 19:04:21 -08:00
bors[bot]
1faba3c265 Merge #91
91: Better resize support on D3D and Vulkan r=swiftcoder a=kvark



Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
2019-03-05 21:08:06 +00:00
Dzmitry Malyshau
ecaacfa20e Force wait for GPU before releasing the old swapchain 2019-03-05 14:14:28 -05:00
bors[bot]
564070b56c Merge #90
90: Basic render pipeline compatibility check r=grovesNL a=kvark

A bit of refactoring for nicer code, and now we are matching the attachment formats of pipelines bound to passes.

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-03-05 06:03:27 +00:00
Dzmitry Malyshau
650bbaeb42 Basic render pipeline compatibility check 2019-03-03 22:09:20 -05:00
bors[bot]
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
bors[bot]
7f9ab97f77 Merge #86
86: Add vertex formats r=kvark a=unconed

Add the vertex formats from: https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl



Co-authored-by: Steven Wittens <steven@acko.net>
2019-03-01 18:35:02 +00:00
Steven Wittens
cf3e1a5ac6 Add vertex formats 2019-03-01 10:48:12 +01:00
Joshua Groves
af58884952 Unpin nightly date 2019-02-28 21:18:16 -07:00
Tristam MacDonald
d179b5a85c Create buffer mapped 2019-02-28 20:11:29 -08:00
bors[bot]
22143f31fa Merge #83
83: Screenshots in the README r=pretty a=kvark



Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
2019-02-28 22:21:07 +00:00
Dzmitry Malyshau
e6aa37630a Screenshots in the README 2019-02-28 17:20:09 -05:00
bors[bot]
2d166d2155 Merge #80
80: Typed mapping of buffers r=kvark a=swiftcoder

Add a sprinkling of generics to remove the need for unsafe code to typecast slices resulting from mapping buffers.

Co-authored-by: Tristam MacDonald <tristam@trist.am>
2019-02-28 15:26:21 +00:00