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