843: Update wgpu-core with SPIRV coordinate fix r=kvark a=kvark

See https://github.com/gfx-rs/wgpu/pull/1305
Fixes #842

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
This commit is contained in:
bors[bot]
2021-04-04 23:08:31 +00:00
committed by GitHub
2 changed files with 5 additions and 6 deletions

View File

@@ -28,20 +28,20 @@ cross = ["wgc/cross"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "11666be0776f80bdbedde02f3c38cd82fa8c1450"
rev = "31f52202c5ba690ff122631070da11fdcbca574c"
features = ["raw-window-handle"]
[target.'cfg(target_arch = "wasm32")'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "11666be0776f80bdbedde02f3c38cd82fa8c1450"
rev = "31f52202c5ba690ff122631070da11fdcbca574c"
features = ["raw-window-handle"]
optional = true
[dependencies.wgt]
package = "wgpu-types"
git = "https://github.com/gfx-rs/wgpu"
rev = "11666be0776f80bdbedde02f3c38cd82fa8c1450"
rev = "31f52202c5ba690ff122631070da11fdcbca574c"
[dependencies]
arrayvec = "0.5"

View File

@@ -179,9 +179,8 @@ trait Context: Debug + Send + Sized + Sync {
type SwapChainOutputDetail: Send;
type RequestAdapterFuture: Future<Output = Option<Self::AdapterId>> + Send;
type RequestDeviceFuture: Future<
Output = Result<(Self::DeviceId, Self::QueueId), RequestDeviceError>,
> + Send;
type RequestDeviceFuture: Future<Output = Result<(Self::DeviceId, Self::QueueId), RequestDeviceError>>
+ Send;
type MapAsyncFuture: Future<Output = Result<(), BufferAsyncError>> + Send;
fn init(backends: BackendBit) -> Self;