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(webgpu): Fix GPUAdapter#isFallbackAdapter and GPUAdapter#info properties #24914

Merged
merged 8 commits into from
Aug 7, 2024

Conversation

petamoriken
Copy link
Contributor

@petamoriken petamoriken commented Aug 6, 2024

Fixed GPUAdapter bugs:

@petamoriken petamoriken marked this pull request as draft August 6, 2024 18:01
@petamoriken petamoriken marked this pull request as ready for review August 6, 2024 18:23
@petamoriken
Copy link
Contributor Author

@littledivy @crowlKats Please take a look!

Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@littledivy littledivy requested a review from crowlKats August 7, 2024 07:06
#adapterInfo;
[_adapterInfo];
/** @type {boolean} */
[_invalid] = false;
Copy link
Member

@crowlKats crowlKats Aug 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default values don't work here since we use Object.create to create an instance of this class

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed... Fixed 👍

Copy link
Member

@crowlKats crowlKats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crowlKats crowlKats merged commit fade313 into denoland:main Aug 7, 2024
17 checks passed
@petamoriken petamoriken deleted the fix/gpu-adapter branch August 7, 2024 09:37
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