mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[rs] Merge #843
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:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user