Dzmitry Malyshau
ee7882723a
[wgsl] expect logical expressions, fix hex literals
2020-03-05 21:21:14 -05:00
Aaron Loucks
051d08424c
Add PresentMode::Mailbox
2020-03-05 18:19:18 -05:00
Dzmitry Malyshau
330ce644d8
[wgsl] parse most binary expressions
2020-03-05 13:14:06 -05:00
Joshua Groves
279af921bc
[wgsl] richer expression grammar
2020-03-05 11:22:50 -05:00
Dzmitry Malyshau
3bf1760d5b
[ir] add SAMPLED image flag
2020-03-05 11:21:36 -05:00
bors[bot] and Aaron Loucks
2388007d1a
[rs] Merge #189
...
189: Reexport Backend and DeviceType from wgpu-core r=kvark a=aloucks
These types are exposed on the `AdaptorInfo` struct.
Co-authored-by: Aaron Loucks <aloucks@cofront.net >
2020-03-05 15:02:13 +00:00
Aaron Loucks
b2e70cc3d3
[rs] Reexport Backend and DeviceType from wgpu-core
...
These types are exposed on the `AdaptorInfo` struct.
2020-03-04 22:22:26 -05:00
bors[bot] and Dzmitry Malyshau
584c9d7554
Merge #509
...
509: Bug 1614703 - WebGPU render pipeline creation r=jgilbert,webidl,baku r=gecko a=kvark
Differential Revision: https://phabricator.services.mozilla.com/D64833
[ghsync] From https://hg.mozilla.org/mozilla-central/rev/e01862df6ba32a18826fe6c2e38e4a57dad3e338
Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com >
2020-03-04 04:04:49 +00:00
Dzmitry Malyshau
cfe000ce23
Bug 1614703 - WebGPU render pipeline creation r=jgilbert,webidl,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D64833
[ghsync] From https://hg.mozilla.org/mozilla-central/rev/e01862df6ba32a18826fe6c2e38e4a57dad3e338
2020-03-03 23:00:43 -05:00
Dzmitry Malyshau
13a4c41121
Include test WGSL shaders
2020-03-03 22:57:20 -05:00
Dzmitry Malyshau
d4fb81a005
[wgsl] basic typed constructors
2020-03-03 22:56:11 -05:00
Dzmitry Malyshau
b9ba223b6e
[wgsl] basic parsing of entry points and global constants
2020-03-03 22:33:53 -05:00
Dzmitry Malyshau
78d5a73a2f
[msl] support returning values
2020-03-03 16:25:56 -05:00
Dzmitry Malyshau
ee987325a5
[wgsl] basic parsing of function body
2020-03-03 16:08:20 -05:00
Dzmitry Malyshau
a9c476d58d
Move out Void from the type enum
2020-03-03 14:09:41 -05:00
Dzmitry Malyshau
4a9f838208
[wgsl] first bits of function parsing
2020-03-03 13:52:47 -05:00
bors[bot] and Joshua Groves
40889df58f
Merge #507
...
507: Update logo and move bindings section r=kvark a=grovesNL
- Adjust the logo slightly
- Move the bindings section up slightly to hopefully reduce confusion for users coming to gfx-rs/wgpu looking for the Rust bindings (gfx-rs/wgpu-rs)
- Also added some experimental Julia bindings
- Open to other ideas how we can improve the repository naming confusion, though long term I think we may want to adjust the naming somehow (like we talked about before the sync was setup)
[Rendered](https://github.com/grovesNL/wgpu-native/blob/8b19724364555c1855eda5349675d925ef0891f5/README.md )
Co-authored-by: Joshua Groves <josh@joshgroves.com >
2020-03-03 17:37:32 +00:00
bors[bot] and Joshua Groves
3cfb78d372
[rs] Merge #185
...
185: Update readme r=kvark a=grovesNL
Add logo and update readme text a bit (link to WASM progress, reword examples section slightly, etc.)
[Rendered](https://github.com/grovesNL/wgpu-rs/blob/ea4bf79ff71f2089beace873a629072ebe233608/README.md )
Co-authored-by: Joshua Groves <josh@joshgroves.com >
2020-03-03 17:36:51 +00:00
Dzmitry Malyshau
c2265ca4c8
[wgsl] structure declarations, better array types
2020-03-03 11:14:15 -05:00
Joshua Groves
39072c80d4
[rs] Update readme
2020-03-03 00:34:24 -03:30
Joshua Groves
8b19724364
Update logo and move bindings section
2020-03-03 00:10:04 -03:30
Dzmitry Malyshau
aba9e8a0f2
Fixup metal type exports
2020-03-02 16:56:15 -05:00
Dzmitry Malyshau
2f0540c6ab
Flat type structure ( #10 )
2020-03-02 16:37:56 -05:00
bors[bot] and Brian Frazho
e09b8d58a7
[rs] Merge #184
...
184: added test to hello-compute example r=kvark a=emmetthebarnraiser
I wasn't exactly sure of the proper way to test async stuff, but this is a strategy that seemed to work for me. Let me know if there is anything you would like me to change, or if this isn't something that you would like to add to the examples!
Co-authored-by: Brian Frazho <befrazho@gmail.com >
2020-03-01 02:43:59 +00:00
Brian Frazho
18b2ae1935
[rs] added test to hello-compute example
2020-02-28 20:50:28 -05:00
Dzmitry Malyshau
246ca018ef
[tint] beginning of the front-end based on Pest ( #9 )
2020-02-28 13:05:24 -05:00
bors[bot] and Dzmitry Malyshau
3d896d4ce1
Merge #506
...
506: Bug 1614702 - WebGPU textures, texture views, and samplers r=gecko a=kvark
This is a commit cherry-picked from #504
Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com >
2020-02-28 03:09:13 +00:00
Dzmitry Malyshau
7f3036449b
Bug 1614702 - WebGPU textures, texture views, and samplers r=jgilbert,webidl,smaug
...
this change adds an ability to create WebGPU textures, views, and samplers
Differential Revision: https://phabricator.services.mozilla.com/D63595
[ghsync] From https://hg.mozilla.org/mozilla-central/rev/7d59549f2fda3aed3927ab49b940d9024e161798
2020-02-27 12:50:54 -05:00
bors[bot] and daxpedda
609b745153
[rs] Merge #183
...
183: Expose `enumerate_adapters`. r=kvark a=daxpedda
Depends on gfx-rs/wgpu#505 .
Use case was to give end user the ability to choose which GPU to use for an application.
Co-authored-by: daxpedda <daxpedda@gmail.com >
2020-02-27 12:36:40 +00:00
Dzmitry Malyshau
8c4e60eb81
Add DXIR to readme, more badges
2020-02-26 23:30:45 -05:00
daxpedda
f77ce1bec1
[rs] Update wgpu dependency.
2020-02-27 00:45:02 +01:00
bors[bot] and daxpedda
429ca1d446
Merge #505
...
505: Expose `Global::enumerate_adapters`. r=kvark a=daxpedda
Expose `enumerate_adapters` to use it in `wgpu-rs`.
Issue was that directly accessing `wgpu-core` wasn't possible because an instantiation of `Global` was needed.
Co-authored-by: daxpedda <daxpedda@gmail.com >
2020-02-26 22:34:40 +00:00
Dzmitry Malyshau
9ca1312617
[spv] rename ParseError to just Error
2020-02-26 17:25:08 -05:00
Dzmitry Malyshau
515f878fa2
Basic image sampling support
2020-02-26 17:10:42 -05:00
Dzmitry Malyshau
20be6876d7
[msl] write down expressions
2020-02-26 15:20:01 -05:00
daxpedda
d584105943
[rs] Expose enumerate_adapters.
2020-02-26 16:35:31 +01:00
daxpedda
498176a8a0
Expose Global::enumerate_adapters.
2020-02-26 16:30:29 +01:00
Dzmitry Malyshau
61e0a980c2
Move complex types out into a separate struct
2020-02-26 10:14:10 -05:00
Dzmitry Malyshau
72ecd7b072
Parse decorations
2020-02-25 17:10:42 -05:00
Dzmitry Malyshau
34c59d0371
[msl] improve function I/O declarations
2020-02-25 14:26:23 -05:00
Dzmitry Malyshau
96a12a0c9a
Complete the crate rename to Naga
2020-02-25 14:00:51 -05:00
Dzmitry Malyshau
b3c75ec1cd
[msl] collect function parameters
2020-02-24 22:27:29 -05:00
Dzmitry Malyshau
763014cb43
[msl] write struct definitions
2020-02-24 18:49:19 -05:00
Dzmitry Malyshau
84bc55e3d4
Parse Store, Composite extraction and composing from SPIR-V
2020-02-24 13:38:34 -05:00
Dzmitry Malyshau
17f31ca846
Parse SPIR-V load instruction
2020-02-24 11:34:45 -05:00
Dzmitry Malyshau
62c07782ca
Add travis integration
2020-02-24 09:58:30 -05:00
Dzmitry Malyshau
e1a6b5aa55
Add README
2020-02-24 09:56:51 -05:00
Dzmitry Malyshau
fe654ee8c5
Implement spir-v access chain parsing
2020-02-24 09:04:09 -05:00
Dzmitry Malyshau
132b67898f
[rs] Add oxidator to the readme
2020-02-22 22:28:14 -05:00
Dzmitry Malyshau
e8a7a86c42
Parse SPIR-V inputs/outputs of entry points
2020-02-21 16:44:22 -05:00