web: Fix spirv-web feature for latest naga

This commit is contained in:
Mike Welsh authored and Dzmitry Malyshau committed 2021-09-12 00:06:58 -04:00
1 parent bf29ceaf10
commit 34c6d3a7f3
1 file changed
+1 -1
+1 -1
View File
@@ -1191,7 +1191,7 @@ impl crate::Context for Context {
let options = naga::front::spv::Options {
adjust_coordinate_space: false,
strict_capabilities: true,
flow_graph_dump_prefix: None,
block_ctx_dump_prefix: None,
};
let spv_parser = front::spv::Parser::new(spv.iter().cloned(), &options);
let spv_module = spv_parser.parse().unwrap();