reusing passes needs SimultaneousUse
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user