We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d231ff7 commit f397b61Copy full SHA for f397b61
src/lib.rs
@@ -2156,7 +2156,7 @@ pub unsafe extern "C" fn wgpuDeviceCreateRenderPipeline(
2156
.map(|buffer| wgc::pipeline::VertexBufferLayout {
2157
array_stride: buffer.arrayStride,
2158
step_mode: match buffer.stepMode {
2159
- native::WGPUVertexStepMode_Vertex => wgt::VertexStepMode::Vertex,
+ native::WGPUVertexStepMode_Vertex | native::WGPUVertexStepMode_Undefined => wgt::VertexStepMode::Vertex,
2160
native::WGPUVertexStepMode_Instance => wgt::VertexStepMode::Instance,
2161
_ => panic!("invalid vertex step mode for vertex buffer layout"),
2162
},
0 commit comments