wenhan chong
unread,Jul 30, 2023, 2:54:10 PM7/30/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to blink-dev
Hi All,
I am trying to use WebGPU uncapturederror listener to detect unexpected errors that happen during render time. I notice that errors are suppressed and not captured when I am rendering to an offscreen canvas on a worker. I tested this by forcing a simple GPUValidationError in the shaders. On an app that renders directly on the main thread, I am able to catch the error. However, on an app that renders to an offscreen canvas on a worker thread before transferring to main, the error is not captured. There is also no console output indicating any errors without the use of the uncapturederror listener. The canvas simply doesn't render. Is this a known issue and is there a workaround?
Thanks,
Wen Han