[webgpu] Handling validation error
To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.
@qjia7 @xhcao @haoyunfeix @gyagp PTAL
I think it will impact the performance if you unconditionally add
pushErrorScopeandpopErrorScope. Do you observe any perf loss?And in another side, I don't see we can catch the error in time and have to delay it when executing
getBufferData. In this case, I can also get the similar message in console as the warning without this PR. So what's the advantage of the PR?
Yes, I am also thinking about if we should add a validation flag on this.
I think warning here is misleading. This kind of validation error should be fixed immediately, and abort running. And the validation error in dawn is generated async, do you have any better place (instead of getBufferData) to get these errors?