Skip to content

WebGPU PipelineLayout question #17645

Answered by kainino0x
SetoKaiba asked this question in Q&A
Aug 15, 2022 · 3 comments · 13 replies
Discussion options

You must be logged in to vote

Setting the pipeline layout to nullptr/NULL/0 should be equivalent to using "auto" in JavaScript.

WGPUPipelineLayout layout; // nullable

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.

Replies: 3 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by SetoKaiba
Comment options

You must be logged in to vote
3 replies
@kainino0x
Comment options

@kainino0x
Comment options

@kainino0x
Comment options

Comment options

You must be logged in to vote
10 replies
@kainino0x
Comment options

@kainino0x
Comment options

@kainino0x
Comment options

@SetoKaiba
Comment options

@kainino0x
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants