4773 Commits
Author SHA1 Message Date
Dzmitry Malyshau cd7124cf2a Update changelog for the last dx12 and metal changes 2019-08-02 11:40:21 -04:00
Dzmitry Malyshau 523f024e74 Bump dx12 crate version to 0.2.4 2019-08-02 11:33:20 -04:00
bors[bot]andDzmitry Malyshau 6abc1c1866 Merge #2934
2934: [0.2/dx12] refactored root signature creation, improved shader visibility r=msiglreith a=kvark

Just improves the root signature a bit...
PR checklist:
- [ ] `make` succeeds (on *nix)
- [ ] `make reftests` succeeds
- [ ] tested examples with the following backends:
- [ ] `rustfmt` run on changed code


Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
2019-08-02 13:36:44 +00:00
Dzmitry Malyshau 52f821b5d1 [dx12] refactored root signature creation, improved shader visibility 2019-08-01 14:49:48 -04:00
bors[bot]andDzmitry Malyshau 67f87fc770 Merge #2924
2924: [hal-0.2/mtl] attachment resolves r=grovesNL a=kvark

Addresses Metal side of #2875 
PR checklist:
- [x] `make` succeeds (on *nix)
- [ ] `make reftests` succeeds
- [ ] tested examples with the following backends
- [ ] `rustfmt` run on changed code


Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-08-01 03:34:58 +00:00
Dzmitry Malyshau 24a744ccc1 [mtl] attachment resolves 2019-07-31 23:34:20 -04:00
bors[bot]andDzmitry Malyshau cab44989d2 Merge #2927
2927: [0.2/dx12] query supported multisample counts r=msiglreith a=kvark

Fixes wgpu-rs "msaa-line" example to work properly.
PR checklist:
- [ ] `make` succeeds (on *nix)
- [ ] `make reftests` succeeds
- [ ] tested examples with the following backends:
- [ ] `rustfmt` run on changed code


Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
2019-07-30 21:29:52 +00:00
Dzmitry Malyshau cfd6d906e7 [dx12] query supported multisample counts 2019-07-30 11:55:17 -04:00
bors[bot]andDzmitry Malyshau 41417d274a Merge #2922
2922: [dx12] allow view creation to fail r=msiglreith a=kvark

Fixes #2921
PR checklist:
- [ ] `make` succeeds (on *nix)
- [ ] `make reftests` succeeds
- [x] tested examples with the following backends: dx12
- [ ] `rustfmt` run on changed code


Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-07-29 21:17:11 +00:00
Dzmitry Malyshau 4d2ebb1cf4 [dx12] allow view creation to fail 2019-07-29 17:10:52 -04:00
bors[bot]andtyler 5ed4c17fd9 Merge #2897
2897: backport iOS metal sim support to hal0.2 branch r=kvark a=mtak-

- [x] tested examples with the following backends: metal ios/mac


Co-authored-by: tyler <tyler@brainiumstudios.com>
2019-07-10 21:25:18 +00:00
tyler 1e12a4f096 [mtl] bump backend version 2019-07-10 13:33:58 -07:00
tyler bbda414353 [mtl][iOS] correct featureset requirement for depth_clip_mode 2019-07-10 13:33:58 -07:00
tyler 53d22ebb27 [ios][metal] xcode11 supports metal on ios simulators. bump spirv_cross version 2019-07-10 13:33:58 -07:00
Dzmitry Malyshau 2bf3750a6e changelog update for Debug changes 2019-06-28 10:02:42 -04:00
bors[bot]andJohn W. Bruce 7a5811c4bf Merge #2876
2876: Derive Debug for All Backend Instances r=kvark a=arashikou

This is a backport of #2869 to the hal-0.2 branch. There are no changes to Vulkan because its `Instance` already derives `Debug`. None of the OpenGL backend changes found in the master branch version are included because the OpenGL backend does not provide `Instance` on the hal-0.2 branch.

I have verified that this branch with this commit can be used in wgpu to enable fixing gfx-rs/wgpu#76.

PR checklist:
- [x] `make` succeeds (on *nix)
- [x] `make reftests` succeeds
- [x] tested examples with the following backends: dx11, dx12, vulkan
- [x] `rustfmt` run on changed code


Co-authored-by: John W. Bruce <juce@google.com>
2019-06-28 01:38:05 +00:00
John W. Bruce c13a0837da Bump Backend Version Numbers for DX11, DX12, Metal, and Empty 2019-06-27 17:42:31 -07:00
John W. Bruce 5cb55ada70 Derive Debug for All Backend Instances 2019-06-27 01:47:24 -07:00
bors[bot]andRukai 9f7d793987 Merge #2853
2853: [0.2] Backport renderpass resolve attachments fix r=kvark a=rukai

Backport of https://github.com/gfx-rs/gfx/pull/2813/files

I am able to get MSAA working on wgpu only with these changes.

Includes a new minor release, is there a process I should be aware of here?
The new release is needed because it is impractical to get wgpu to use these changes without a new release because of rendy's dependency on gfx-hal.
Simply using a specific git commit fails because rendy and wgpu both need to refer to the same trait from gfx-hal.

Fixes #issue
PR checklist:
- [x] `make` succeeds (on *nix)
- [x] `make reftests` succeeds
- [x] tested examples with the following backends: vulkan
- ~~[ ] `rustfmt` run on changed code~~

Co-authored-by: Rukai <rubickent@gmail.com>
2019-06-22 15:22:53 +00:00
Rukai 2c71e2ed72 Backport renderpass resolve attachments fix
https://github.com/gfx-rs/gfx/pull/2813/files
2019-06-22 15:28:46 +10:00
bors[bot]andDzmitry Malyshau 946dbd493b Merge #2828
2828: MacOS vulkan portability support r=msiglreith a=kvark

Fixes #2796 
PR checklist:
- [x] `make` succeeds (on *nix)
- [ ] `make reftests` succeeds
- [x] tested examples with the following backends: Vulkan, Metal
- [ ] `rustfmt` run on changed code

Users need to ensure that Vulkan loader is available and ICD paths are set up. I launched the example with the following command line:
```bash
LD_LIBRARY_PATH=<vulkan_sdk>/macOS/lib/ VK_ICD_FILENAMES=<gfx-portability>/libportability-icd/portability-macos-debug.json cargo run --bin quad --features vulkan
```

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-06-14 19:30:42 +00:00
Dzmitry Malyshau ceee41a0fb Vulkan WSI support on macOS 2019-06-14 15:10:43 -04:00
Dzmitry Malyshau 0b76d24f19 Add metal-0.2.1 entry to changelog 2019-06-14 00:10:14 -04:00
bors[bot]andDzmitry Malyshau bee3d995f4 Merge #2831
2831: [0.2/mtl] metal-rs update r=grovesNL a=kvark

Fixes the string leaking.
PR checklist:
- [x] `make` succeeds (on *nix)
- [x] `make reftests` succeeds
- [ ] tested examples with the following backends: Metal
- [ ] `rustfmt` run on changed code


Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-06-14 02:55:47 +00:00
Dzmitry Malyshau 44a9e60ffa [mtl] bump metal-rs dependency version 2019-06-13 22:35:23 -04:00