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

Rename WGPUDeviceLostReason_Undefined to Unknown #288

Merged
merged 2 commits into from
May 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions webgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,9 @@ typedef enum WGPUCullMode {
} WGPUCullMode WGPU_ENUM_ATTRIBUTE;

typedef enum WGPUDeviceLostReason {
WGPUDeviceLostReason_Undefined = 0x00000000,
WGPUDeviceLostReason_Destroyed = 0x00000001,
WGPUDeviceLostReason_Undefined = 0x00000001,
kainino0x marked this conversation as resolved.
Show resolved Hide resolved
WGPUDeviceLostReason_Unknown = 0x00000001,
WGPUDeviceLostReason_Destroyed = 0x00000002,
WGPUDeviceLostReason_Force32 = 0x7FFFFFFF
} WGPUDeviceLostReason WGPU_ENUM_ATTRIBUTE;

Expand Down
6 changes: 6 additions & 0 deletions webgpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -436,9 +436,15 @@ enums:
TODO
entries:
- name: undefined
value: 0x0001
doc: |
TODO
kainino0x marked this conversation as resolved.
Show resolved Hide resolved
- name: unknown
value: 0x0001
doc: |
TODO
- name: destroyed
value: 0x0002
doc: |
TODO

Expand Down