-
|
How to set PipelineLayout to auto like the original js WebGPU does? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
|
Setting the pipeline layout to emscripten/system/include/webgpu/webgpu.h Line 1080 in 08bb133 However Emscripten has not been updated to translate |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Setting the pipeline layout to
nullptr/NULL/0should be equivalent to using"auto"in JavaScript.emscripten/system/include/webgpu/webgpu.h
Line 1080 in 08bb133
However Emscripten has not been updated to translate
0into"auto"so right now you have to rely on the deprecated behavior in Chromium (assuming you're targeting Chromium). We plan to get Emscripten updated before removing the deprecated path from Chromium.