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

example/webgpu error #1740

Open
fromwhite opened this issue Apr 21, 2023 · 0 comments
Open

example/webgpu error #1740

fromwhite opened this issue Apr 21, 2023 · 0 comments

Comments

@fromwhite
Copy link

fromwhite commented Apr 21, 2023

example/webgpu doesn't work

Actual Result

Cannot read properties of null (reading 'attributes')
    at getVertexBufferLayout (get-vertex-buffer-layout.ts:62:34)
    at WebGPURenderPipeline._getRenderPipelineDescriptor (webgpu-render-pipeline.ts:122:16)
    at WebGPURenderPipeline.createHandle (webgpu-render-pipeline.ts:51:29)
    at new WebGPURenderPipeline (webgpu-render-pipeline.ts:39:68)
    at WebGPUDevice.createRenderPipeline (webgpu-device.ts:185:12)
    at PipelineFactory._createRenderPipeline (pipeline-factory.ts:158:34)
    at PipelineFactory.createRenderPipeline (pipeline-factory.ts:111:44)
    at new Model (model.ts:68:53)
    at new AppAnimationLoopTemplate (app.ts:53:18)
    at Object.onInitialize (m

Expected Result

webgpu rendering example/hello triangle

Reproduce Steps

chrome 113 beta,this example/webgpu doesn't work.

Feature

for webgpu[/issues/1525], whether to convert wgsl to glsl or progressive (if webgpu else webgl1/2) or both

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

No branches or pull requests

1 participant