mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Update naga to latest
This commit is contained in:
committed by
Dzmitry Malyshau
parent
69e86453d9
commit
bf29ceaf10
@@ -36,7 +36,7 @@ thiserror = "1"
|
||||
|
||||
[dependencies.naga]
|
||||
git = "https://github.com/gfx-rs/naga"
|
||||
rev = "e226cf3"
|
||||
rev = "130f802"
|
||||
#version = "0.6"
|
||||
features = ["wgsl-in"]
|
||||
|
||||
|
||||
@@ -69,12 +69,12 @@ core-graphics-types = "0.1"
|
||||
|
||||
[dependencies.naga]
|
||||
git = "https://github.com/gfx-rs/naga"
|
||||
rev = "e226cf3"
|
||||
rev = "130f802"
|
||||
#version = "0.6"
|
||||
|
||||
[dev-dependencies.naga]
|
||||
git = "https://github.com/gfx-rs/naga"
|
||||
rev = "e226cf3"
|
||||
rev = "130f802"
|
||||
#version = "0.6"
|
||||
features = ["wgsl-in"]
|
||||
|
||||
|
||||
@@ -90,14 +90,14 @@ env_logger = "0.8"
|
||||
|
||||
[dependencies.naga]
|
||||
git = "https://github.com/gfx-rs/naga"
|
||||
rev = "e226cf3"
|
||||
rev = "130f802"
|
||||
#version = "0.6"
|
||||
optional = true
|
||||
|
||||
# used to test all the example shaders
|
||||
[dev-dependencies.naga]
|
||||
git = "https://github.com/gfx-rs/naga"
|
||||
rev = "e226cf3"
|
||||
rev = "130f802"
|
||||
#version = "0.6"
|
||||
features = ["wgsl-in"]
|
||||
|
||||
|
||||
@@ -983,7 +983,7 @@ impl crate::Context for Context {
|
||||
let options = naga::front::spv::Options {
|
||||
adjust_coordinate_space: false, // we require NDC_Y_UP feature
|
||||
strict_capabilities: true,
|
||||
flow_graph_dump_prefix: None,
|
||||
block_ctx_dump_prefix: None,
|
||||
};
|
||||
let parser = naga::front::spv::Parser::new(spv.iter().cloned(), &options);
|
||||
let module = parser.parse().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user