Add strip_index_format to linestrip in conservative-raster example (#2199)

This commit is contained in:
Neil Blakey-Milner 2021-11-22 06:01:24 -08:00 committed by GitHub
parent 8196b7567c
commit 4f639622d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,6 +157,7 @@ impl framework::Example for Example {
primitive: wgpu::PrimitiveState {
polygon_mode: wgpu::PolygonMode::Line,
topology: wgpu::PrimitiveTopology::LineStrip,
strip_index_format: Some(wgpu::IndexFormat::Uint32),
..Default::default()
},
depth_stencil: None,