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>
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>
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>
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>