mirror of https://github.com/wayvr-org/wayvr.git
reusing passes needs SimultaneousUse
This commit is contained in:
parent
76288f73c5
commit
1b7f9c8843
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue