Skip to content

Commit

Permalink
WIP - Disable bgra8unorm-storage with moltenvk
Browse files Browse the repository at this point in the history
  • Loading branch information
nical committed Oct 13, 2023
1 parent 981dc24 commit 40dd6c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wgpu-hal/src/vulkan/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1771,6 +1771,10 @@ fn supports_bgra8unorm_storage(
return false;
}

if cfg!(any(target_os = "macos", target_os = "ios")) {
return false;
}

unsafe {
let mut properties3 = vk::FormatProperties3::default();
let mut properties2 = vk::FormatProperties2::builder().push_next(&mut properties3);
Expand Down

0 comments on commit 40dd6c0

Please sign in to comment.