-
Notifications
You must be signed in to change notification settings - Fork 329
Open
Labels
apiWebGPU APIWebGPU APImoved-m0-to-m1(TEMPORARY) items moved from M0 to M1 while trying to make M0 = requirements for CR(TEMPORARY) items moved from M0 to M1 while trying to make M0 = requirements for CR
Milestone
Description
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
Labels
apiWebGPU APIWebGPU APImoved-m0-to-m1(TEMPORARY) items moved from M0 to M1 while trying to make M0 = requirements for CR(TEMPORARY) items moved from M0 to M1 while trying to make M0 = requirements for CR