fix(vulkan-smoke): harden timeout and ci closure
This commit is contained in:
@@ -51,9 +51,10 @@ where
|
||||
|
||||
fn commit(mut self) -> T {
|
||||
self.rollback.take();
|
||||
self.value
|
||||
.take()
|
||||
.expect("rollback guard must hold a value until commit")
|
||||
match self.value.take() {
|
||||
Some(value) => value,
|
||||
None => unreachable!("rollback guard must hold a value until commit"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -259,10 +259,12 @@ fn create_pipeline_layout(
|
||||
})
|
||||
}
|
||||
|
||||
#[allow(clippy::cast_precision_loss)]
|
||||
fn extent_component_to_f32(value: u32) -> f32 {
|
||||
value as f32
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_lines)]
|
||||
fn create_graphics_pipeline(
|
||||
device: &VulkanLogicalDeviceProbe,
|
||||
render_pass: vk::RenderPass,
|
||||
|
||||
Reference in New Issue
Block a user