reusing passes needs SimultaneousUse

This commit is contained in:
galister
2025-06-18 03:14:21 +09:00
parent 76288f73c5
commit 1b7f9c8843

View File

@@ -48,7 +48,7 @@ where
let mut command_buffer = AutoCommandBufferBuilder::secondary( let mut command_buffer = AutoCommandBufferBuilder::secondary(
pipeline.graphics.command_buffer_allocator.clone(), pipeline.graphics.command_buffer_allocator.clone(),
pipeline.graphics.queue_gfx.queue_family_index(), pipeline.graphics.queue_gfx.queue_family_index(),
CommandBufferUsage::MultipleSubmit, CommandBufferUsage::SimultaneousUse,
CommandBufferInheritanceInfo { CommandBufferInheritanceInfo {
render_pass: Some(CommandBufferInheritanceRenderPassType::BeginRendering( render_pass: Some(CommandBufferInheritanceRenderPassType::BeginRendering(
CommandBufferInheritanceRenderingInfo { CommandBufferInheritanceRenderingInfo {