You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WebGPU compilation errors: "function parameter of pointer type cannot be in 'storage' address space" #10906
I'm still seeing this issue after updating Tint. I've only seen it affect unit tests (and not full programs) so far though.
Currently WGSL does not allow passing pointer-to-storage-buffer or pointer-to-uniform-buffer into user-declared helper functions.
But this is planned as an enhancement "soon", because @ben-clayton worked out a transform that would lower more general pointer parameters to something we could compile to all backends.
See gpuweb/gpuweb#3546
Activity
antiagainst commentedon Nov 21, 2022
From @dneto0: https://dawn-review.googlesource.com/c/dawn/+/109820 should fix this.
Bump Tint, spirv_headers, and spirv-tools to latest. (#11318)
ScottTodd commentedon Nov 28, 2022
I'm still seeing this issue after updating Tint. I've only seen it affect unit tests (and not full programs) so far though.
Bump Tint to latest. (#12527)
Bump Tint to latest. (iree-org#12527)
Bump Tint to latest. (#12527)
Bump Tint to latest. (iree-org#12527)
dneto0 commentedon May 25, 2023
Currently WGSL does not allow passing pointer-to-storage-buffer or pointer-to-uniform-buffer into user-declared helper functions.
But this is planned as an enhancement "soon", because @ben-clayton worked out a transform that would lower more general pointer parameters to something we could compile to all backends.
See gpuweb/gpuweb#3546
Bump Tint to latest. (iree-org#12527)