(module: &rspirv::dr::Module)
| 202 | } |
| 203 | |
| 204 | fn entry_points(module: &rspirv::dr::Module) -> Vec<String> { |
| 205 | module |
| 206 | .entry_points |
| 207 | .iter() |
| 208 | .filter(|inst| inst.class.opcode == rspirv::spirv::Op::EntryPoint) |
| 209 | .map(|inst| inst.operands[2].unwrap_literal_string().to_string()) |
| 210 | .collect() |
| 211 | } |
| 212 | |
| 213 | fn post_link_single_module( |
| 214 | sess: &Session, |