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

Remove all "Unknown" async statuses #415

Merged
merged 2 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 0 additions & 6 deletions webgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,6 @@ typedef enum WGPUCompilationInfoRequestStatus {
WGPUCompilationInfoRequestStatus_Success = 0x00000001,
WGPUCompilationInfoRequestStatus_InstanceDropped = 0x00000002,
WGPUCompilationInfoRequestStatus_Error = 0x00000003,
WGPUCompilationInfoRequestStatus_Unknown = 0x00000004,
WGPUCompilationInfoRequestStatus_Force32 = 0x7FFFFFFF
} WGPUCompilationInfoRequestStatus WGPU_ENUM_ATTRIBUTE;

Expand Down Expand Up @@ -467,7 +466,6 @@ typedef enum WGPUCreatePipelineAsyncStatus {
WGPUCreatePipelineAsyncStatus_InstanceDropped = 0x00000002,
WGPUCreatePipelineAsyncStatus_ValidationError = 0x00000003,
WGPUCreatePipelineAsyncStatus_InternalError = 0x00000004,
WGPUCreatePipelineAsyncStatus_Unknown = 0x00000005,
WGPUCreatePipelineAsyncStatus_Force32 = 0x7FFFFFFF
} WGPUCreatePipelineAsyncStatus WGPU_ENUM_ATTRIBUTE;

Expand Down Expand Up @@ -594,7 +592,6 @@ typedef enum WGPUMapAsyncStatus {
WGPUMapAsyncStatus_InstanceDropped = 0x00000002,
WGPUMapAsyncStatus_Error = 0x00000003,
WGPUMapAsyncStatus_Aborted = 0x00000004,
WGPUMapAsyncStatus_Unknown = 0x00000005,
WGPUMapAsyncStatus_Force32 = 0x7FFFFFFF
} WGPUMapAsyncStatus WGPU_ENUM_ATTRIBUTE;

Expand Down Expand Up @@ -704,7 +701,6 @@ typedef enum WGPUQueueWorkDoneStatus {
WGPUQueueWorkDoneStatus_Success = 0x00000001,
WGPUQueueWorkDoneStatus_InstanceDropped = 0x00000002,
WGPUQueueWorkDoneStatus_Error = 0x00000003,
WGPUQueueWorkDoneStatus_Unknown = 0x00000004,
WGPUQueueWorkDoneStatus_Force32 = 0x7FFFFFFF
} WGPUQueueWorkDoneStatus WGPU_ENUM_ATTRIBUTE;

Expand All @@ -713,15 +709,13 @@ typedef enum WGPURequestAdapterStatus {
WGPURequestAdapterStatus_InstanceDropped = 0x00000002,
WGPURequestAdapterStatus_Unavailable = 0x00000003,
WGPURequestAdapterStatus_Error = 0x00000004,
WGPURequestAdapterStatus_Unknown = 0x00000005,
WGPURequestAdapterStatus_Force32 = 0x7FFFFFFF
} WGPURequestAdapterStatus WGPU_ENUM_ATTRIBUTE;

typedef enum WGPURequestDeviceStatus {
WGPURequestDeviceStatus_Success = 0x00000001,
WGPURequestDeviceStatus_InstanceDropped = 0x00000002,
WGPURequestDeviceStatus_Error = 0x00000003,
WGPURequestDeviceStatus_Unknown = 0x00000004,
WGPURequestDeviceStatus_Force32 = 0x7FFFFFFF
} WGPURequestDeviceStatus WGPU_ENUM_ATTRIBUTE;

Expand Down
18 changes: 0 additions & 18 deletions webgpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,6 @@ enums:
- name: error
doc: |
TODO
- name: unknown
doc: |
TODO
- name: compilation_message_type
doc: |
TODO
Expand Down Expand Up @@ -331,9 +328,6 @@ enums:
- name: internal_error
doc: |
TODO
- name: unknown
doc: |
TODO
- name: cull_mode
doc: |
TODO
Expand Down Expand Up @@ -531,9 +525,6 @@ enums:
- name: aborted
doc: |
TODO
- name: unknown
doc: |
TODO
- name: mipmap_filter_mode
doc: |
TODO
Expand Down Expand Up @@ -655,9 +646,6 @@ enums:
- name: error
doc: |
TODO
- name: unknown
doc: |
TODO
- name: request_adapter_status
doc: |
TODO
Expand All @@ -675,9 +663,6 @@ enums:
- name: error
doc: |
TODO
- name: unknown
doc: |
TODO
- name: request_device_status
doc: |
TODO
Expand All @@ -692,9 +677,6 @@ enums:
- name: error
doc: |
TODO
- name: unknown
doc: |
TODO
- name: s_type
doc: |
TODO
Expand Down
Loading