@@ -94,7 +94,7 @@ impl State {
9494 device. create_pipeline_layout ( & wgpu:: PipelineLayoutDescriptor {
9595 label : Some ( "Render Pipeline Layout" ) ,
9696 bind_group_layouts : & [ ] ,
97- push_constant_ranges : & [ ] ,
97+ immediate_size : 0 ,
9898 } ) ;
9999
100100 let render_pipeline = device. create_render_pipeline ( & wgpu:: RenderPipelineDescriptor {
@@ -139,8 +139,8 @@ impl State {
139139 alpha_to_coverage_enabled : false ,
140140 } ,
141141 // If the pipeline will be used with a multiview render pass, this
142- // indicates how many array layers the attachments will have .
143- multiview : None ,
142+ // tells wgpu to render to just specific texture layers .
143+ multiview_mask : None ,
144144 // Useful for optimizing shader compilation on Android
145145 cache : None ,
146146 } ) ;
@@ -186,8 +186,8 @@ impl State {
186186 alpha_to_coverage_enabled : false ,
187187 } ,
188188 // If the pipeline will be used with a multiview render pass, this
189- // indicates how many array layers the attachments will have .
190- multiview : None ,
189+ // tells wgpu to render to just specific texture layers .
190+ multiview_mask : None ,
191191 cache : None ,
192192 } ) ;
193193
@@ -269,6 +269,7 @@ impl State {
269269 depth_stencil_attachment : None ,
270270 occlusion_query_set : None ,
271271 timestamp_writes : None ,
272+ multiview_mask : None ,
272273 } ) ;
273274
274275 render_pass. set_pipeline ( if self . use_color {
0 commit comments