Skip to content

Commit

Permalink
disable TEXTURE_FORMAT_NV12 on macOS/iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopengli89 committed Nov 1, 2023
1 parent b7bfba9 commit d0b6ce1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wgpu-hal/src/vulkan/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,8 @@ impl PhysicalDeviceFeatures {
supports_bgra8unorm_storage(instance, phd, caps.device_api_version),
);

// https://github.com/KhronosGroup/MoltenVK/issues/440
#[cfg(not(any(target_os = "macos", target_os = "ios")))]
features.set(
F::TEXTURE_FORMAT_NV12,
supports_format(
Expand Down

0 comments on commit d0b6ce1

Please sign in to comment.