Manuel Gil
e00ef5d584
Expose get_swap_chain_preferred_format on Device
...
- Update examples to make use of the new method
2021-01-03 17:35:04 +00:00
Dzmitry Malyshau
f3d6d242d7
Update wgpu with Naga fixes and OpenGL backend
2020-12-17 13:03:27 -05:00
Emanuele Dalla Longa
bdd6edecd2
Require labels to match gfx-rs/wgpu#1088
...
Change-Id: I1acc45a3023dfc78b6694bd4a28a0131f07b7ba7
2020-12-16 00:15:05 +01:00
Dzmitry Malyshau
2dc59ba2d9
Port to the updated wgpu error model
2020-11-23 17:59:21 -05:00
Joshua Groves
4fafceb30a
Fix typo
2020-11-21 00:07:57 -03:30
Joshua Groves
8d5ef65dcb
Temporarily use BackendBit::PRIMARY in examples
...
`BackendBit::all()` allows GL/surfman to be used on macOS which appears
to prevent rendering with Metal (e.g. hello-triangle displays an empty
window).
surfman will be removed in later versions of gfx, which will allow us
to switch back to `BackendBit::all()` in the examples.
2020-11-20 23:33:10 -03:30
Zsolt Bölöny
16427aed19
Rename TextureUsage::OUTPUT_ATTACHMENT to RENDER_ATTACHMENT
2020-11-09 10:35:55 +01:00
Dzmitry Malyshau
b6cabe16a2
Enable GL backend
2020-11-04 23:02:01 -05:00
Dzmitry Malyshau
503b61dc6c
Update wgpu with another bind group fix, updated power preference
2020-10-13 16:57:52 -04:00
qthree
0be45b5d67
Add hello-windows example
2020-09-10 06:55:42 +07:00