Closed
Bug 1826680
Opened 2 years ago
Closed 2 years ago
Implement WGSL type aliases for e.g vec4f -> vec4<f32>
Categories
(Core :: Graphics: WebGPU, enhancement, P1)
Core
Graphics: WebGPU
Tracking
()
RESOLVED
FIXED
People
(Reporter: jgilbert, Unassigned)
References
Details
No description provided.
Reporter | ||
Updated•2 years ago
|
Blocks: webgpu-v1-samples-no-shim
Comment 1•2 years ago
|
||
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!
Comment 2•2 years ago
|
||
This is already implemented in Naga, so the next wgpu update should close this bug.
Comment 4•2 years ago
|
||
: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?
Comment 5•2 years ago
|
||
: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.
Updated•2 years ago
|
Type: defect → enhancement
Reporter | ||
Comment 6•2 years ago
|
||
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: 2 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•