Skip to content

Commit 85aab89

Browse files
committed
Rename to CallbackCancelled
1 parent d485c57 commit 85aab89

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

webgpu.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ typedef enum WGPUCompareFunction {
432432

433433
typedef enum WGPUCompilationInfoRequestStatus {
434434
WGPUCompilationInfoRequestStatus_Success = 0x00000001,
435-
WGPUCompilationInfoRequestStatus_Cancelled = 0x00000002,
435+
WGPUCompilationInfoRequestStatus_CallbackCancelled = 0x00000002,
436436
WGPUCompilationInfoRequestStatus_Force32 = 0x7FFFFFFF
437437
} WGPUCompilationInfoRequestStatus WGPU_ENUM_ATTRIBUTE;
438438

@@ -472,7 +472,7 @@ typedef enum WGPUCompositeAlphaMode {
472472

473473
typedef enum WGPUCreatePipelineAsyncStatus {
474474
WGPUCreatePipelineAsyncStatus_Success = 0x00000001,
475-
WGPUCreatePipelineAsyncStatus_Cancelled = 0x00000002,
475+
WGPUCreatePipelineAsyncStatus_CallbackCancelled = 0x00000002,
476476
WGPUCreatePipelineAsyncStatus_ValidationError = 0x00000003,
477477
WGPUCreatePipelineAsyncStatus_InternalError = 0x00000004,
478478
WGPUCreatePipelineAsyncStatus_Force32 = 0x7FFFFFFF
@@ -492,7 +492,7 @@ typedef enum WGPUCullMode {
492492
typedef enum WGPUDeviceLostReason {
493493
WGPUDeviceLostReason_Unknown = 0x00000001,
494494
WGPUDeviceLostReason_Destroyed = 0x00000002,
495-
WGPUDeviceLostReason_Cancelled = 0x00000003,
495+
WGPUDeviceLostReason_CallbackCancelled = 0x00000003,
496496
WGPUDeviceLostReason_FailedCreation = 0x00000004,
497497
WGPUDeviceLostReason_Force32 = 0x7FFFFFFF
498498
} WGPUDeviceLostReason WGPU_ENUM_ATTRIBUTE;
@@ -599,7 +599,7 @@ typedef enum WGPULoadOp {
599599

600600
typedef enum WGPUMapAsyncStatus {
601601
WGPUMapAsyncStatus_Success = 0x00000001,
602-
WGPUMapAsyncStatus_Cancelled = 0x00000002,
602+
WGPUMapAsyncStatus_CallbackCancelled = 0x00000002,
603603
WGPUMapAsyncStatus_Error = 0x00000003,
604604
WGPUMapAsyncStatus_Aborted = 0x00000004,
605605
WGPUMapAsyncStatus_Force32 = 0x7FFFFFFF
@@ -630,7 +630,7 @@ typedef enum WGPUPopErrorScopeStatus {
630630
* The error scope stack was successfully popped and a result was reported.
631631
*/
632632
WGPUPopErrorScopeStatus_Success = 0x00000001,
633-
WGPUPopErrorScopeStatus_Cancelled = 0x00000002,
633+
WGPUPopErrorScopeStatus_CallbackCancelled = 0x00000002,
634634
/**
635635
* The error scope stack could not be popped, because it was empty.
636636
*/
@@ -708,7 +708,7 @@ typedef enum WGPUQueryType {
708708

709709
typedef enum WGPUQueueWorkDoneStatus {
710710
WGPUQueueWorkDoneStatus_Success = 0x00000001,
711-
WGPUQueueWorkDoneStatus_Cancelled = 0x00000002,
711+
WGPUQueueWorkDoneStatus_CallbackCancelled = 0x00000002,
712712
/**
713713
* There was some deterministic error. (Note this is currently never used,
714714
* but it will be relevant when it's possible to create a queue object.)
@@ -719,15 +719,15 @@ typedef enum WGPUQueueWorkDoneStatus {
719719

720720
typedef enum WGPURequestAdapterStatus {
721721
WGPURequestAdapterStatus_Success = 0x00000001,
722-
WGPURequestAdapterStatus_Cancelled = 0x00000002,
722+
WGPURequestAdapterStatus_CallbackCancelled = 0x00000002,
723723
WGPURequestAdapterStatus_Unavailable = 0x00000003,
724724
WGPURequestAdapterStatus_Error = 0x00000004,
725725
WGPURequestAdapterStatus_Force32 = 0x7FFFFFFF
726726
} WGPURequestAdapterStatus WGPU_ENUM_ATTRIBUTE;
727727

728728
typedef enum WGPURequestDeviceStatus {
729729
WGPURequestDeviceStatus_Success = 0x00000001,
730-
WGPURequestDeviceStatus_Cancelled = 0x00000002,
730+
WGPURequestDeviceStatus_CallbackCancelled = 0x00000002,
731731
WGPURequestDeviceStatus_Error = 0x00000003,
732732
WGPURequestDeviceStatus_Force32 = 0x7FFFFFFF
733733
} WGPURequestDeviceStatus WGPU_ENUM_ATTRIBUTE;

webgpu.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ enums:
298298
- name: success
299299
doc: |
300300
TODO
301-
- name: cancelled
301+
- name: callback_cancelled
302302
doc: |
303303
TODO
304304
- name: compilation_message_type
@@ -336,7 +336,7 @@ enums:
336336
- name: success
337337
doc: |
338338
TODO
339-
- name: cancelled
339+
- name: callback_cancelled
340340
doc: |
341341
TODO
342342
- name: validation_error
@@ -371,7 +371,7 @@ enums:
371371
- name: destroyed
372372
doc: |
373373
TODO
374-
- name: cancelled
374+
- name: callback_cancelled
375375
doc: |
376376
TODO
377377
- name: failed_creation
@@ -537,7 +537,7 @@ enums:
537537
- name: success
538538
doc: |
539539
TODO
540-
- name: cancelled
540+
- name: callback_cancelled
541541
doc: |
542542
TODO
543543
- name: error
@@ -579,7 +579,7 @@ enums:
579579
- name: success
580580
doc: |
581581
The error scope stack was successfully popped and a result was reported.
582-
- name: cancelled
582+
- name: callback_cancelled
583583
doc: |
584584
TODO
585585
- name: error
@@ -672,7 +672,7 @@ enums:
672672
- name: success
673673
doc: |
674674
TODO
675-
- name: cancelled
675+
- name: callback_cancelled
676676
doc: |
677677
TODO
678678
- name: error
@@ -687,7 +687,7 @@ enums:
687687
- name: success
688688
doc: |
689689
TODO
690-
- name: cancelled
690+
- name: callback_cancelled
691691
doc: |
692692
TODO
693693
- name: unavailable
@@ -704,7 +704,7 @@ enums:
704704
- name: success
705705
doc: |
706706
TODO
707-
- name: cancelled
707+
- name: callback_cancelled
708708
doc: |
709709
TODO
710710
- name: error

0 commit comments

Comments
 (0)