mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 07:21:04 +01:00
fix(webgpu): set_unclipped_depth (#7841)
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -92,6 +92,10 @@ Bottom level categories:
|
||||
|
||||
- Remove extraneous main thread warning in `fn surface_capabilities()`. By @jamesordner in [#7692](https://github.com/gfx-rs/wgpu/pull/7692)
|
||||
|
||||
#### WebGPU
|
||||
|
||||
- Fix setting unclipped_depth. By @atlv24 in [#7841](https://github.com/gfx-rs/wgpu/pull/7841)
|
||||
|
||||
### Changes
|
||||
|
||||
- Loosen Viewport validation requirements to match the [new specs](https://github.com/gpuweb/gpuweb/pull/5025). By @ebbdrop in [#7564](https://github.com/gfx-rs/wgpu/pull/7564)
|
||||
|
||||
@@ -380,8 +380,7 @@ fn map_primitive_state(primitive: &wgt::PrimitiveState) -> webgpu_sys::GpuPrimit
|
||||
PrimitiveTopology::TriangleStrip => pt::TriangleStrip,
|
||||
});
|
||||
|
||||
//TODO:
|
||||
//mapped.unclipped_depth(primitive.unclipped_depth);
|
||||
mapped.set_unclipped_depth(primitive.unclipped_depth);
|
||||
|
||||
match primitive.polygon_mode {
|
||||
wgt::PolygonMode::Fill => {}
|
||||
|
||||
Reference in new issue
Block a user