Skip to content
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

fix(ext/webgpu): Create GPUQuerySet converter before usage #26883

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

reczkok
Copy link
Contributor

@reczkok reczkok commented Nov 15, 2024

Hi, while trying to do performance tests for TypeGPU we encountered a problem when using Timestamp Queries.

Converter for GPUComputePassTimestampWrites uses converter for GPUQuerySet before it is defined making it impossible to use. This PR simply reorders converter creation to resolve this issue. Logging the GPUQuerySet still fails (as mentioned in #26769) but it is now usable inside pass descriptors and works when used.

@CLAassistant
Copy link

CLAassistant commented Nov 15, 2024

CLA assistant check
All committers have signed the CLA.

@littledivy littledivy merged commit 80098bf into denoland:main Nov 17, 2024
17 checks passed
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.

3 participants