mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 22:41:07 +01:00
web: Fix spirv-web feature for latest naga
This commit is contained in:
1 parent
bf29ceaf10
commit
34c6d3a7f3
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user