-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix(webgpu): Fix GPUAdapter#isFallbackAdapter
and GPUAdapter#info
properties
#24914
Conversation
@littledivy @crowlKats Please take a look! |
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.
LGTM
ext/webgpu/01_webgpu.js
Outdated
#adapterInfo; | ||
[_adapterInfo]; | ||
/** @type {boolean} */ | ||
[_invalid] = false; |
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.
Default values don't work here since we use Object.create
to create an instance of this class
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.
Indeed... Fixed 👍
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.
LGTM
Fixed
GPUAdapter
bugs:GPUAdapter#isFallbackAdapter
beingundefined
GPUAdapter#info
throwingTypeError
GPUAdapter#info
closing adapter resources