[rs] Updated wgpu version

This commit is contained in:
adamnemecek
2021-04-14 12:51:28 -07:00
parent ef4b2dd079
commit 9f6bfb2bab
2 changed files with 5 additions and 5 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 = "c820cc8e737e3773c9c28ec49a1fecd8fa273dab"
rev = "c0478c707d35c6b459a7f0cb42ab75d768677e1b"
features = ["raw-window-handle"]
[target.'cfg(target_arch = "wasm32")'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "c820cc8e737e3773c9c28ec49a1fecd8fa273dab"
rev = "c0478c707d35c6b459a7f0cb42ab75d768677e1b"
features = ["raw-window-handle"]
optional = true
[dependencies.wgt]
package = "wgpu-types"
git = "https://github.com/gfx-rs/wgpu"
rev = "c820cc8e737e3773c9c28ec49a1fecd8fa273dab"
rev = "c0478c707d35c6b459a7f0cb42ab75d768677e1b"
[dependencies]
arrayvec = "0.5"

View File

@@ -1008,9 +1008,9 @@ impl crate::Context for Context {
},
buffers: Borrowed(&vertex_buffers),
},
primitive: desc.primitive.clone(),
primitive: desc.primitive,
depth_stencil: desc.depth_stencil.clone(),
multisample: desc.multisample.clone(),
multisample: desc.multisample,
fragment: desc.fragment.as_ref().map(|frag| pipe::FragmentState {
stage: pipe::ProgrammableStageDescriptor {
module: frag.module.id,