Commit Graph

225 Commits

Author SHA1 Message Date
Joshua Groves
45c5709b1d Map usage flags 2018-10-06 22:26:28 -06:00
Joshua Groves
beac74c481 Map texture dimension and size 2018-10-06 22:26:28 -06:00
bors[bot]
1855e22d0c Merge #18
18: Compute resource binding r=grovesNL a=kvark

Again, this isn't complete/usable yet, blocked by https://github.com/gpuweb/gpuweb/pull/93
But we can merge and move forward.

Co-authored-by: Dzmitry Malyshau <kvark@mozilla.com>
2018-10-03 11:29:47 +00:00
Dzmitry Malyshau
744a64f7fd Regenerated C header 2018-10-03 07:29:18 -04:00
Dzmitry Malyshau
444da40484 rust: compute resource binding 2018-10-02 21:41:10 -04:00
Dzmitry Malyshau
45def95763 native: basic compute resource binding 2018-10-02 21:41:10 -04:00
Dzmitry Malyshau
c7bb1b453e native: use iterators for descriptor set layouts 2018-10-02 21:41:10 -04:00
Dzmitry Malyshau
dd681d2c77 Compute dispatch call 2018-10-02 21:41:10 -04:00
bors[bot]
15883ab21c Merge #17
17: Registry major refactor and compute passes r=grovesNL a=kvark



Co-authored-by: Dzmitry Malyshau <kvark@mozilla.com>
2018-10-02 19:08:47 +00:00
Dzmitry Malyshau
a00c23e350 Basic compute passes on Rust side 2018-10-02 12:32:39 -04:00
Dzmitry Malyshau
1752754489 Modularize the registry 2018-10-02 12:31:02 -04:00
Dzmitry Malyshau
d713f3e380 Consolidate all the registries together 2018-10-02 12:18:54 -04:00
Dzmitry Malyshau
1fd05608fb native: compute pass boilerplate 2018-10-02 11:43:26 -04:00
bors[bot]
69df9c4eae Merge #16
16: [WIP] render pass begin/end r=grovesNL a=kvark

Depends on https://github.com/gpuweb/gpuweb/pull/91 and https://github.com/gpuweb/gpuweb/pull/92

Co-authored-by: Dzmitry Malyshau <kvark@mozilla.com>
2018-10-01 18:14:00 +00:00
Dzmitry Malyshau
e4341603d7 Keep a reference to DeviceID in the command buffer 2018-10-01 11:41:55 -04:00
Dzmitry Malyshau
da95fe6b1e Rust side render pass begin/end 2018-10-01 10:11:44 -04:00
Dzmitry Malyshau
71b170979d render pass begin/end 2018-10-01 09:49:34 -04:00
bors[bot]
6b940bc446 Merge #15
15: Render pipeline states for Rust layer and example r=grovesNL a=kvark



Co-authored-by: Dzmitry Malyshau <kvark@mozilla.com>
2018-09-29 02:17:54 +00:00
Dzmitry Malyshau
62f5fc480d Render pipeline states for Rust layer and example 2018-09-28 21:57:49 -04:00
bors[bot]
3c905fd706 Merge #14
14: Begin and finish command buffers r=grovesNL a=kvark



Co-authored-by: Dzmitry Malyshau <kvark@mozilla.com>
2018-09-28 18:35:19 +00:00
Dzmitry Malyshau
47edd4564a Begin and finish command buffers 2018-09-28 11:35:31 -04:00
bors[bot]
e5d4f9e04d Merge #11
11: Add render pipeline creation r=kvark a=grovesNL

~~WIP~~

~~Let me know if you have any ideas to address my `TODO`s as I work through it 😃~~

- Added render pipeline creation
- Updated example
- Reworked how mutex guard is managed for registries

Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-09-28 14:46:18 +00:00
Joshua Groves
3975320543 Run cargo fmt 2018-09-28 07:21:07 -06:00
Joshua Groves
241aef131a Move register inside guard 2018-09-28 07:16:42 -06:00
Joshua Groves
eb80057e11 Fix C example name 2018-09-28 00:35:41 -06:00
Joshua Groves
c8a60c780c Refactor after rebase 2018-09-28 00:31:09 -06:00
Joshua Groves
e3d7fda9c7 Simplify registry access 2018-09-28 00:13:11 -06:00
Joshua Groves
aab17db5a1 Map rest of render pipeline descriptor 2018-09-28 00:08:44 -06:00
Joshua Groves
9ef70b8246 Add bind group layout 2018-09-28 00:04:47 -06:00
Joshua Groves
551d944214 Fix build 2018-09-28 00:02:45 -06:00
Joshua Groves
376aa73130 Start render pipeline creation 2018-09-28 00:02:11 -06:00
bors[bot]
ebe0af0a7f Merge #13
13: Basic command buffer creation and submission r=grovesNL a=kvark



Co-authored-by: Dzmitry Malyshau <kvark@mozilla.com>
2018-09-28 03:35:14 +00:00
Dzmitry Malyshau
92c16a193e Rust wrapper update the command buffers and queues 2018-09-27 23:34:37 -04:00
Dzmitry Malyshau
c013fc9498 C example update, header, and better travis tests 2018-09-27 19:04:17 -04:00
Dzmitry Malyshau
a7dd3c433f wgn: queue submit 2018-09-27 19:03:48 -04:00
Dzmitry Malyshau
212cc386f3 wgn: command pools and buffer creation 2018-09-27 15:43:19 -04:00
bors[bot]
6cee0d647a Merge #12
12: Rust wrapper r=grovesNL a=kvark



Co-authored-by: Dzmitry Malyshau <kvark@mozilla.com>
2018-09-26 18:32:52 +00:00
Dzmitry Malyshau
3c583160d4 Port hello_triangle_rust example to use the new Rust wrapper 2018-09-26 14:31:06 -04:00
Dzmitry Malyshau
abf30b6f9d Readme update with fixed links and components description 2018-09-26 14:31:06 -04:00
Dzmitry Malyshau
53c75d6aed First bits of wgpu-rs 2018-09-26 14:31:03 -04:00
bors[bot]
fc3b6fc3cb Merge #10
10: Generate C header r=kvark a=grovesNL

Fixes #6

~~WIP: there are a few issues I've encountered already for the few functions we expose.~~

Co-authored-by: grovesNL <josh@joshgroves.com>
Co-authored-by: Joshua Groves <josh@joshgroves.com>
2018-09-25 03:21:59 +00:00
Joshua Groves
19ddb63e11 Fix remote get_mut 2018-09-24 21:20:03 -06:00
Joshua Groves
7e6765108b Move mutex inside registry 2018-09-24 12:39:49 -06:00
Joshua Groves
7d35607ec1 Add remote feature to control ID type 2018-09-23 23:05:12 -06:00
Joshua Groves
211189a090 Create shader modules from C 2018-09-23 19:29:44 -06:00
Joshua Groves
08ad0f40ed Create C example 2018-09-23 13:25:05 -06:00
grovesNL
d94d45cd80 Target C for header generation 2018-09-22 20:54:42 -06:00
grovesNL
105a71d19a Format all files 2018-09-22 16:55:01 -06:00
grovesNL
5759f769b0 Add initial bindings 2018-09-22 16:54:19 -06:00
bors[bot]
99edaa256f Merge #9
9: Restructure the repo to host multiple crates r=grovesNL a=kvark

As a follow-up, I'll rename this repository to just `wgpu`.

Co-authored-by: Dzmitry Malyshau <kvark@mozilla.com>
2018-09-19 01:57:51 +00:00