@@ -31,7 +31,6 @@ use lambda::{
3131 pipeline:: {
3232 CompareFunction ,
3333 CullingMode ,
34- PipelineStage ,
3534 RenderPipelineBuilder ,
3635 StencilFaceState ,
3736 StencilOperation ,
@@ -408,7 +407,6 @@ impl Component<ComponentResult, String> for ReflectiveRoomExample {
408407 } ) ;
409408 cmds. push ( RenderCommand :: Immediates {
410409 pipeline : pipe_floor_mask,
411- stage : PipelineStage :: VERTEX ,
412410 offset : 0 ,
413411 bytes : Vec :: from ( immediate_data_to_words ( & ImmediateData {
414412 mvp : mvp_floor. transpose ( ) ,
@@ -442,7 +440,6 @@ impl Component<ComponentResult, String> for ReflectiveRoomExample {
442440 } ) ;
443441 cmds. push ( RenderCommand :: Immediates {
444442 pipeline : pipe_reflected,
445- stage : PipelineStage :: VERTEX ,
446443 offset : 0 ,
447444 bytes : Vec :: from ( immediate_data_to_words ( & ImmediateData {
448445 mvp : mvp_reflect. transpose ( ) ,
@@ -469,7 +466,6 @@ impl Component<ComponentResult, String> for ReflectiveRoomExample {
469466 } ) ;
470467 cmds. push ( RenderCommand :: Immediates {
471468 pipeline : pipe_floor_visual,
472- stage : PipelineStage :: VERTEX ,
473469 offset : 0 ,
474470 bytes : Vec :: from ( immediate_data_to_words ( & ImmediateData {
475471 mvp : mvp_floor. transpose ( ) ,
@@ -493,7 +489,6 @@ impl Component<ComponentResult, String> for ReflectiveRoomExample {
493489 } ) ;
494490 cmds. push ( RenderCommand :: Immediates {
495491 pipeline : pipe_normal,
496- stage : PipelineStage :: VERTEX ,
497492 offset : 0 ,
498493 bytes : Vec :: from ( immediate_data_to_words ( & ImmediateData {
499494 mvp : mvp. transpose ( ) ,
@@ -625,7 +620,7 @@ impl ReflectiveRoomExample {
625620 . with_depth_format ( DepthFormat :: Depth24PlusStencil8 )
626621 . with_depth_write ( false )
627622 . with_depth_compare ( CompareFunction :: Always )
628- . with_immediate_data ( PipelineStage :: VERTEX , immediate_data_size)
623+ . with_immediate_data ( immediate_data_size)
629624 . with_buffer (
630625 BufferBuilder :: new ( )
631626 . with_length (
@@ -677,7 +672,7 @@ impl ReflectiveRoomExample {
677672 // Mirrored transform reverses winding; cull front to keep visible faces.
678673 . with_culling ( CullingMode :: Front )
679674 . with_depth_format ( DepthFormat :: Depth24PlusStencil8 )
680- . with_immediate_data ( PipelineStage :: VERTEX , immediate_data_size)
675+ . with_immediate_data ( immediate_data_size)
681676 . with_buffer (
682677 BufferBuilder :: new ( )
683678 . with_length (
@@ -730,7 +725,7 @@ impl ReflectiveRoomExample {
730725 let mut floor_builder = RenderPipelineBuilder :: new ( )
731726 . with_label ( "floor-visual" )
732727 . with_culling ( CullingMode :: Back )
733- . with_immediate_data ( PipelineStage :: VERTEX , immediate_data_size)
728+ . with_immediate_data ( immediate_data_size)
734729 . with_buffer (
735730 BufferBuilder :: new ( )
736731 . with_length (
@@ -768,7 +763,7 @@ impl ReflectiveRoomExample {
768763 let mut normal_builder = RenderPipelineBuilder :: new ( )
769764 . with_label ( "cube-normal" )
770765 . with_culling ( CullingMode :: Back )
771- . with_immediate_data ( PipelineStage :: VERTEX , immediate_data_size)
766+ . with_immediate_data ( immediate_data_size)
772767 . with_buffer (
773768 BufferBuilder :: new ( )
774769 . with_length (
0 commit comments