Skip to content

Commit

Permalink
Fix for compilation error on Mac using rustc v1.75
Browse files Browse the repository at this point in the history
  • Loading branch information
attackgoat committed Jan 29, 2024
1 parent 143e5c2 commit 3de19d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/graphic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ impl GraphicPipeline {
.find(|shader| shader.stage == vk::ShaderStageFlags::FRAGMENT)
.expect("fragment shader not found")
.attachments();
let (input, write) = (input.collect(), write.collect());
let (input, write) = (input.collect::<HashSet<_>>(), write.collect::<HashSet<_>>());

for input in &input {
trace!("detected input attachment {input}");
Expand Down

0 comments on commit 3de19d6

Please sign in to comment.