Skip to content

Commit

Permalink
remove BLIT_SRC/BLIT_DST
Browse files Browse the repository at this point in the history
  • Loading branch information
teoxoy committed Jan 10, 2023
1 parent e7ca171 commit 595ff80
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions wgpu-hal/src/vulkan/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1476,15 +1476,11 @@ impl crate::Adapter<super::Api> for super::Adapter {
);
flags.set(
Tfc::COPY_SRC,
features.intersects(
vk::FormatFeatureFlags::TRANSFER_SRC | vk::FormatFeatureFlags::BLIT_SRC,
),
features.intersects(vk::FormatFeatureFlags::TRANSFER_SRC),
);
flags.set(
Tfc::COPY_DST,
features.intersects(
vk::FormatFeatureFlags::TRANSFER_DST | vk::FormatFeatureFlags::BLIT_DST,
),
features.intersects(vk::FormatFeatureFlags::TRANSFER_DST),
);
// Vulkan is very permissive about MSAA
flags.set(Tfc::MULTISAMPLE_RESOLVE, !format.describe().is_compressed());
Expand Down

0 comments on commit 595ff80

Please sign in to comment.