Fix pedal overlay
This commit is contained in:
parent
a5a3702153
commit
d87ed8c0c9
2 changed files with 1 additions and 1 deletions
|
@ -94,6 +94,7 @@ impl Pedals {
|
||||||
|
|
||||||
let descriptor_pool = DescriptorPool::builder()
|
let descriptor_pool = DescriptorPool::builder()
|
||||||
.set_layout(pipeline.descriptor_layout().clone())
|
.set_layout(pipeline.descriptor_layout().clone())
|
||||||
|
.set_descriptor_set_count(2)
|
||||||
.build(device.clone())?;
|
.build(device.clone())?;
|
||||||
|
|
||||||
let brake_color_buffer = Buffer::builder()
|
let brake_color_buffer = Buffer::builder()
|
||||||
|
|
|
@ -29,7 +29,6 @@ impl HistoryPipeline {
|
||||||
VK_SHADER_STAGE_FRAGMENT_BIT,
|
VK_SHADER_STAGE_FRAGMENT_BIT,
|
||||||
0,
|
0,
|
||||||
)
|
)
|
||||||
.change_descriptor_count(2)
|
|
||||||
.build(device.clone())?;
|
.build(device.clone())?;
|
||||||
|
|
||||||
let pipeline_layout = PipelineLayout::builder()
|
let pipeline_layout = PipelineLayout::builder()
|
||||||
|
|
Loading…
Reference in a new issue