update wgpu

This commit is contained in:
Kunal Mohan 2020-09-11 13:39:33 +05:30
parent 0d5e4b9037
commit a68e3920e5
2 changed files with 24 additions and 6 deletions

View file

@ -945,6 +945,7 @@ impl GPUDeviceMethods for GPUDevice {
depth_bias: rs_desc.depthBias,
depth_bias_slope_scale: *rs_desc.depthBiasSlopeScale,
depth_bias_clamp: *rs_desc.depthBiasClamp,
..Default::default()
}),
primitive_topology: match descriptor.primitiveTopology {
GPUPrimitiveTopology::Point_list => wgt::PrimitiveTopology::PointList,