Update naga to latest

This commit is contained in:
João Capucho
2021-09-10 22:17:50 +01:00
committed by Dzmitry Malyshau
parent 69e86453d9
commit bf29ceaf10
4 changed files with 6 additions and 6 deletions

View File

@@ -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"]

View File

@@ -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"]

View File

@@ -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"]

View File

@@ -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();