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

ErrorScopes are not useful for CommandEncoder methods #4269

@kdashg

Description

@kdashg

The spec today says that if e.g. copyTextureToTexture identifies a validation issue, the encoder merely becomes invalid, and only later a single validation error is generated in CommandEncoder.finish().

This means pushErrorScope/popErrorScope are unable to isolate or identify which call caused the error to occur.

I believe that calls should generate validation errors (for use with error scopes) normally, instead of being deferred. (but giving details about what caused the encoder to go invalid should totally also be an error that happens at CommandEncoder.finish() too)

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiWebGPU APImoved-m0-to-m1(TEMPORARY) items moved from M0 to M1 while trying to make M0 = requirements for CR

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions