Merge pull request #355 from lidongjies/fix/showcase-windowless

Fix windowless showcase
pull/365/head
sotrh 2 years ago committed by GitHub
commit 718123dede
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,11 +8,8 @@ edition = "2018"
[dependencies]
image = "0.23"
raw-window-handle = "0.3"
winit = "0.26"
shaderc = "0.7"
cgmath = "0.18"
wgpu = "0.12"
wgpu = { version = "0.12", features = ["spirv"] }
pollster = "0.2"
[[bin]]

@ -94,6 +94,16 @@ void main() {
}
```
Update dependencies to support SPIR-V module.
```toml
[dependencies]
image = "0.23"
shaderc = "0.7"
wgpu = { version = "0.12", features = ["spirv"] }
pollster = "0.2"
```
Using that we'll create a simple `RenderPipeline`.
```rust

Loading…
Cancel
Save