Skip to content

Conversation

@haoxli
Copy link
Contributor

@haoxli haoxli commented Jun 19, 2020

The getExecutionTime return the the total time, in seconds, that GPU execute this command buffer. (#614 )


Preview | Diff

The getExecutionTime return the the total time, in seconds, that GPU
execute this command buffer
haoxli and others added 2 commits June 22, 2020 09:31
Co-authored-by: Kai Ninomiya <kainino1@gmail.com>
Co-authored-by: Kai Ninomiya <kainino1@gmail.com>
@kvark kvark changed the base branch from master to main June 23, 2020 13:13
@haoxli haoxli force-pushed the time-query-command-buffer branch from 0b6db3f to 9bb9f38 Compare June 24, 2020 05:28
Copy link
Contributor

@kvark kvark left a 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!

@kainino0x
Copy link
Contributor

editors TODO: figure out what happens if command buffer is an error

@kainino0x
Copy link
Contributor

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.)

Copy link
Contributor

@JusSn JusSn left a 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>
@kainino0x kainino0x merged commit 332e53a into gpuweb:main Jul 13, 2020
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
…#870)

Following WebGPU SPEC, The depth aspect of Depth24UnormStencil8 texture
format cannot be selected in a texture to buffer copy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants