Closed Bug 1826680 Opened 1 year ago Closed 1 year ago

Implement WGSL type aliases for e.g vec4f -> vec4<f32>

Categories

(Core :: Graphics: WebGPU, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: jgilbert, Unassigned)

References

Details

No description provided.
No longer blocks: 1826677

I think I'd enjoy taking this one on, but I currently don't think I'll have the capacity while I work on bug 1826681. Feel free to take it, if anyone is inclined!

This is already implemented in Naga, so the next wgpu update should close this bug.

:jimb: I'll mark this as depending on 1827421, then.

Depends on: 1827421

:jimb: Did a bit of digging, just for the sake of caching relevant info here; the commit you're referring to is https://github.com/gfx-rs/naga/commit/7422ace934b7ed51c1e061eb1d36de8259b5f619, right?

:jimb and :nical: This bug only needs to be validated on the Fx side, IIRC; this should be already be consumed with bug 1827421's resolution.

Type: defect → enhancement

To verify, I edited https://codepen.io/alaingalvan/pen/GRgvLGw to replace e.g. vec4<f32> with vec4f and it still works.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.