We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was getting errors from the default glslPath and was able to fix it by passing in:
const glslangPath = "https://cdn.jsdelivr.net/npm/@webgpu/[email protected]/dist/web-devel-onefile/glslang.js";
To the context.init function.
context.init
In general, though, I think it would be OK to just remove the glsl creation if we're choosing wsgl by default.
The text was updated successfully, but these errors were encountered:
👋 The default path is "@webgpu/glslang/dist/web-devel/glslang.js" and is resolved via the importmap:
"@webgpu/glslang/dist/web-devel/glslang.js"
dgel/web_modules/import-map.json
Lines 3 to 4 in 228fde8
Passing glslangPath to await context.init() 4th arg (not the prettiest api) is indeed the way to go if you don't want to use importmap.
glslangPath
await context.init()
Agreed, the dual mode is pretty new so I haven't allowed that yet.
Sorry, something went wrong.
No branches or pull requests
I was getting errors from the default glslPath and was able to fix it by passing in:
const glslangPath = "https://cdn.jsdelivr.net/npm/@webgpu/[email protected]/dist/web-devel-onefile/glslang.js";
To the
context.init
function.In general, though, I think it would be OK to just remove the glsl creation if we're choosing wsgl by default.
The text was updated successfully, but these errors were encountered: