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
The WebGPU specification (and implementation in Chrome) has evolved slightly since the samples were written. The layout parameter is now required when calling createRenderPipeline or createComputePipeline. Adding layout: 'auto' in calls to createRenderPipeline could be enough to fix that part (unless the code uses a more specific pipeline).
(That said, I think that some of the constructs in WGSL need updating too. I haven't tried to dig into that.)
The text was updated successfully, but these errors were encountered:
since chrome 114 there is more issues with this sample.
I refactored code to make this sample working with newest chrome releases.
Sadly i can't open PR here, so i'm attaching path if anyone interested 0001-refactored-code-to-be-compatible-with-newest-webgpu-.patch
The WebGPU specification (and implementation in Chrome) has evolved slightly since the samples were written. The
layout
parameter is now required when callingcreateRenderPipeline
orcreateComputePipeline
. Addinglayout: 'auto'
in calls tocreateRenderPipeline
could be enough to fix that part (unless the code uses a more specific pipeline).(That said, I think that some of the constructs in WGSL need updating too. I haven't tried to dig into that.)
The text was updated successfully, but these errors were encountered: