Fix stages for memory barriers in the examples
This commit is contained in:
parent
f07af40a6c
commit
139dc2aa3b
2 changed files with 6 additions and 6 deletions
|
@ -414,8 +414,8 @@ fn main() {
|
|||
},
|
||||
};
|
||||
device.cmd_pipeline_barrier(texture_command_buffer,
|
||||
vk::PIPELINE_STAGE_TOP_OF_PIPE_BIT,
|
||||
vk::PIPELINE_STAGE_TOP_OF_PIPE_BIT,
|
||||
vk::PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT,
|
||||
vk::PIPELINE_STAGE_TRANSFER_BIT,
|
||||
vk::DependencyFlags::empty(),
|
||||
&[],
|
||||
&[],
|
||||
|
@ -462,8 +462,8 @@ fn main() {
|
|||
},
|
||||
};
|
||||
device.cmd_pipeline_barrier(texture_command_buffer,
|
||||
vk::PIPELINE_STAGE_TOP_OF_PIPE_BIT,
|
||||
vk::PIPELINE_STAGE_TOP_OF_PIPE_BIT,
|
||||
vk::PIPELINE_STAGE_TRANSFER_BIT,
|
||||
vk::PIPELINE_STAGE_FRAGMENT_SHADER_BIT,
|
||||
vk::DependencyFlags::empty(),
|
||||
&[],
|
||||
&[],
|
||||
|
|
|
@ -521,8 +521,8 @@ impl ExampleBase {
|
|||
},
|
||||
};
|
||||
device.cmd_pipeline_barrier(setup_command_buffer,
|
||||
vk::PIPELINE_STAGE_TOP_OF_PIPE_BIT,
|
||||
vk::PIPELINE_STAGE_TOP_OF_PIPE_BIT,
|
||||
vk::PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT,
|
||||
vk::PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT,
|
||||
vk::DependencyFlags::empty(),
|
||||
&[],
|
||||
&[],
|
||||
|
|
Loading…
Add table
Reference in a new issue