Skip to content

ErrorHandling.md should describe wait-for-completion case #128

Closed

Description

@kainino0x

The Recovery section of ErrorHandling.md actually also works when an application wants to "wait" until creation of an object is complete. In particular:

  • Create a shader module (asynchronously)
  • Use the shader module to create a pipeline (asynchronously)
  • Wait for the pipeline to be ready, rendering a fallback until then
  • Once the pipeline is ready, start using it.

The WebGPUObjectStatusQuery mechanism already allows this use-case, but the section is not worded to include it.

Activity

  1. self-assigned this
    on Nov 21, 2018
  2. kainino0x commented on Nov 21, 2018

    @kainino0x
    ContributorAuthor

    See also discussion on #125

  3. kainino0x commented on Jan 31, 2019

    @kainino0x
    ContributorAuthor

    This issue is kind of obsolete, solution went a different way. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions