这是indexloc提供的服务,不要输入任何密码
Skip to content

createPipelineAsync() doesn't reject its promise, even if the created pipeline is invalid #3296

@litherum

Description

@litherum

From https://gpuweb.github.io/gpuweb/#dom-gpudevice-createcomputepipelineasync:

When pipeline is ready to be used or has been made invalid, resolve promise with pipeline.

It seems like we should be rejecting the promise if the created pipeline is invalid. I don't see any reason not to, and it would help alleviate some confusion about "how do you know if the pipeline created with createPipelineAsync() ended up being valid or not?"

Metadata

Metadata

Assignees

No one assigned

    Labels

    copyeditingPure editorial stuff (copyediting, *.bs file syntax, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions