-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add WGPUDeviceLostReason_Unknown, deprecate _Undefined #21914
Conversation
I believe for this PR as well, unknown should be value 0x1, and destroyed should be value 0x2 |
I have redefined the values for |
looks good to me, but I don't have review permissions |
Hello Kai Ninomiya, could you please take a moment to review this PR? Thanks. |
@@ -324,8 +324,8 @@ typedef enum WGPUCullMode { | |||
} WGPUCullMode WGPU_ENUM_ATTRIBUTE; | |||
|
|||
typedef enum WGPUDeviceLostReason { | |||
WGPUDeviceLostReason_Undefined = 0x00000000, | |||
WGPUDeviceLostReason_Destroyed = 0x00000001, | |||
WGPUDeviceLostReason_Unknown = 0x00000001, |
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.
We need to avoid breaking changes for now, so please add:
WGPUDeviceLostReason_Undefined = 0x00000001,
(with the same value 1 as Unknown)
and same elsewhere
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.
I have uploaded a new commit, please review it.
Please check https://issues.chromium.org/issues/42241081 for more information and progress. webgpu-headers PR: webgpu-native/webgpu-headers#288.
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
Please check
https://issues.chromium.org/issues/42241081 for
more information and progress.
webgpu-headers PR:
webgpu-native/webgpu-headers#288.
@kainino0x @austinEng