Skip to content

Commit

Permalink
Add COPY_DST to Metal's surface usage bits
Browse files Browse the repository at this point in the history
  • Loading branch information
vl4dimir authored and kvark committed Feb 18, 2022
1 parent 0545e36 commit c1dcd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-hal/src/metal/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ impl crate::Adapter<super::Api> for super::Adapter {
height: 4096,
depth_or_array_layers: 1,
},
usage: crate::TextureUses::COLOR_TARGET, //TODO: expose more
usage: crate::TextureUses::COLOR_TARGET | crate::TextureUses::COPY_DST, //TODO: expose more
})
}
}
Expand Down

0 comments on commit c1dcd6d

Please sign in to comment.