-
Notifications
You must be signed in to change notification settings - Fork 361
Add time query on GPUCommandBuffer #870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The getExecutionTime return the the total time, in seconds, that GPU execute this command buffer
Co-authored-by: Kai Ninomiya <kainino1@gmail.com>
Co-authored-by: Kai Ninomiya <kainino1@gmail.com>
0b6db3f to
9bb9f38
Compare
kvark
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for addressing this!
|
editors TODO: figure out what happens if command buffer is an error |
|
resolution: resolve to 0 on error, to avoid the same error being surfaced in multiple ways. (Better to resolve than to leave pending, so user async code doesn't stall unexpectedly.) |
JusSn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some grammar nits. Thank you!
Co-authored-by: Justin Fan <jussnf@gmail.com>
…#870) Following WebGPU SPEC, The depth aspect of Depth24UnormStencil8 texture format cannot be selected in a texture to buffer copy.
The getExecutionTime return the the total time, in seconds, that GPU execute this command buffer. (#614 )
Preview | Diff