Skip to content

Commit

Permalink
fix vulkano in the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Letronix624 committed Mar 17, 2024
1 parent f9082bb commit ce741d3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions examples/multisample.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,7 @@ impl MSAAPipeline {
.entry_point("main")
.unwrap();

let vertex_input_state =
MyVertex::per_vertex().definition(&vs.info().input_interface).unwrap();
let vertex_input_state = MyVertex::per_vertex().definition(&vs).unwrap();

let stages =
[PipelineShaderStageCreateInfo::new(vs), PipelineShaderStageCreateInfo::new(fs)];
Expand Down
3 changes: 1 addition & 2 deletions examples/paint_callback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@ impl Scene {
.entry_point("main")
.unwrap();

let vertex_input_state =
MyVertex::per_vertex().definition(&vs.info().input_interface).unwrap();
let vertex_input_state = MyVertex::per_vertex().definition(&vs).unwrap();

let stages =
[PipelineShaderStageCreateInfo::new(vs), PipelineShaderStageCreateInfo::new(fs)];
Expand Down
3 changes: 1 addition & 2 deletions examples/subpass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@ impl SimpleGuiPipeline {
.entry_point("main")
.unwrap();

let vertex_input_state =
MyVertex::per_vertex().definition(&vs.info().input_interface).unwrap();
let vertex_input_state = MyVertex::per_vertex().definition(&vs).unwrap();

let stages =
[PipelineShaderStageCreateInfo::new(vs), PipelineShaderStageCreateInfo::new(fs)];
Expand Down
3 changes: 1 addition & 2 deletions examples/wholesome/triangle_draw_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ impl TriangleDrawSystem {
.entry_point("main")
.unwrap();

let vertex_input_state =
MyVertex::per_vertex().definition(&vs.info().input_interface).unwrap();
let vertex_input_state = MyVertex::per_vertex().definition(&vs).unwrap();

let stages =
[PipelineShaderStageCreateInfo::new(vs), PipelineShaderStageCreateInfo::new(fs)];
Expand Down

0 comments on commit ce741d3

Please sign in to comment.