-
How to set PipelineLayout to auto like the original js WebGPU does? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
kainino0x
Aug 15, 2022
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.
0 replies
Answer selected by
SetoKaiba
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setting the pipeline layout to
nullptr
/NULL
/0
should 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
0
into"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.