Skip to content
New issue

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

Failed to create texture in webgpu when using certain compressed textures #7098

Closed
MAG-AdrianMeredith opened this issue Nov 6, 2024 · 0 comments · Fixed by #7099
Closed

Comments

@MAG-AdrianMeredith
Copy link
Contributor

Description

playcanvas.mjs:43833 TypeError: Failed to execute 'createTexture' on 'GPUDevice': Failed to read the 'format' property from 'GPUTextureDescriptor': Required member is undefined.
at WebgpuTexture.create (playcanvas.mjs:8698:1)
at new WebgpuTexture (playcanvas.mjs:8675:1)
at WebgpuGraphicsDevice.createTextureImpl (playcanvas.mjs:10793:1)
at new Texture (playcanvas.mjs:5388:1)
at Ktx2Parser.open (playcanvas.mjs:77262:1)
at TextureHandler.open (playcanvas.mjs:77789:1)
at Array.eval (playcanvas.mjs:43767:1)
at BasisQueue.handleResponse (playcanvas.mjs:76834:1)
at Worker.eval (playcanvas.mjs:76846:1)

This is due to a missing entry for PIXELFORMAT_ASTC_4x4_SRGB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant