mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 08:14:12 +00:00
Remove forgotten println statements
This commit is contained in:
parent
9f6ee7a217
commit
336f040299
@ -272,7 +272,6 @@ fn remove_duplicate_types(module: &mut rspirv::dr::Module) {
|
||||
// 2) Erase this instruction. Because we're iterating over this vec, removing an element is hard, so
|
||||
// clear it with OpNop, and then remove it in the retain() call below.
|
||||
assert!(old_value.is_none());
|
||||
println!("killing duplicate {:?} -> {}", *inst, entry.get());
|
||||
*inst = rspirv::dr::Instruction::new(spirv::Op::Nop, None, None, vec![]);
|
||||
}
|
||||
}
|
||||
@ -283,10 +282,6 @@ fn remove_duplicate_types(module: &mut rspirv::dr::Module) {
|
||||
.types_global_values
|
||||
.retain(|op| op.class.opcode != spirv::Op::Nop);
|
||||
|
||||
for (key, value) in &rewrite_rules {
|
||||
println!("rewrite {} -> {}", key, value);
|
||||
}
|
||||
|
||||
// Apply the rewrite rules to the whole module
|
||||
for inst in module.all_inst_iter_mut() {
|
||||
rewrite_inst_with_rules(inst, &rewrite_rules);
|
||||
|
Loading…
Reference in New Issue
Block a user