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 7, 2023
1 parent a0984fd commit 03b86f9
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 03b86f9

Please sign in to comment.