Skip to content

Commit

Permalink
fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopengli89 committed Aug 27, 2024
1 parent 0495b1c commit 2fc0144
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions wgpu-hal/src/vulkan/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1499,6 +1499,7 @@ impl super::Instance {
}),
image_format_list: phd_capabilities.device_api_version >= vk::API_VERSION_1_2
|| phd_capabilities.supports_extension(khr::image_format_list::NAME),
#[cfg(windows)]
external_memory_win32: phd_capabilities.device_api_version >= vk::API_VERSION_1_1
|| phd_capabilities.supports_extension(khr::external_memory_win32::NAME),
};
Expand Down
1 change: 1 addition & 0 deletions wgpu-hal/src/vulkan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ struct PrivateCapabilities {
robust_image_access2: bool,
zero_initialize_workgroup_memory: bool,
image_format_list: bool,
#[cfg(windows)]
external_memory_win32: bool,
}

Expand Down

0 comments on commit 2fc0144

Please sign in to comment.