fix(stage0-ci): satisfy strict clippy gates

This commit is contained in:
2026-06-25 08:26:14 +04:00
parent 5a60671bd6
commit e572558d5f
6 changed files with 16 additions and 13 deletions
@@ -138,7 +138,7 @@ pub fn probe_vulkan_runtime_capabilities(
instance,
surface,
drawable_extent,
&RenderRequest::conservative(),
RenderRequest::conservative(),
)?;
Ok(selected.runtime)
}
@@ -154,7 +154,7 @@ pub fn probe_vulkan_runtime_capabilities_for_request(
instance: &VulkanInstanceProbe,
surface: &VulkanSurfaceProbe,
drawable_extent: (u32, u32),
render_request: &RenderRequest,
render_request: RenderRequest,
) -> Result<VulkanRuntimeCapabilityProbe, VulkanRuntimeCapabilityError> {
let selected = select_live_device_candidate_for_request(
instance,
@@ -169,7 +169,7 @@ pub(super) fn select_live_device_candidate_for_request(
instance: &VulkanInstanceProbe,
surface: &VulkanSurfaceProbe,
drawable_extent: (u32, u32),
render_request: &RenderRequest,
render_request: RenderRequest,
) -> Result<SelectedLiveDevice, VulkanRuntimeCapabilityError> {
let devices = {
// SAFETY: The Vulkan instance is live for this query and no handles are retained.
@@ -222,7 +222,7 @@ fn live_device_candidate(
surface: &VulkanSurfaceProbe,
device: vk::PhysicalDevice,
index: usize,
render_request: &RenderRequest,
render_request: RenderRequest,
) -> Result<LiveDeviceCandidate, VulkanRuntimeCapabilityError> {
let properties = {
// SAFETY: `device` was returned by this live instance and the result is copied by value.
@@ -130,7 +130,7 @@ pub fn create_vulkan_logical_device_probe(
instance,
surface,
drawable_extent,
&RenderRequest::conservative(),
RenderRequest::conservative(),
)
}
@@ -144,7 +144,7 @@ pub fn create_vulkan_logical_device_probe_for_request(
instance: &VulkanInstanceProbe,
surface: &VulkanSurfaceProbe,
drawable_extent: (u32, u32),
render_request: &RenderRequest,
render_request: RenderRequest,
) -> Result<VulkanLogicalDeviceProbe, VulkanLogicalDeviceError> {
let selected = select_live_device_candidate_for_request(
instance,
@@ -110,7 +110,7 @@ impl VulkanSmokeRenderer {
&instance,
&surface,
create_info.drawable_extent,
&create_info.render_request,
create_info.render_request,
)
.map_err(VulkanSmokeRendererError::LogicalDevice)?;
if let Some(progress) = bootstrap_progress {
@@ -310,7 +310,7 @@ fn capability_gate_respects_request_specific_depth_profiles() {
..RenderRequest::conservative()
};
let report = select_physical_device_for_request(&[no_stencil], &relaxed_request)
let report = select_physical_device_for_request(&[no_stencil], relaxed_request)
.expect("selected device for depth-only request");
assert_eq!(report.device_name, "No stencil");