Skip to content

Commit

Permalink
Use same order between LoadOp and StoreOp (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
kainino0x authored Sep 3, 2024
1 parent 36068f9 commit ac72229
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions webgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@ typedef enum WGPUIndexFormat {

typedef enum WGPULoadOp {
WGPULoadOp_Undefined = 0x00000000,
WGPULoadOp_Clear = 0x00000001,
WGPULoadOp_Load = 0x00000002,
WGPULoadOp_Load = 0x00000001,
WGPULoadOp_Clear = 0x00000002,
WGPULoadOp_Force32 = 0x7FFFFFFF
} WGPULoadOp WGPU_ENUM_ATTRIBUTE;

Expand Down
4 changes: 2 additions & 2 deletions webgpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -514,10 +514,10 @@ enums:
- name: undefined
doc: |
TODO
- name: clear
- name: load
doc: |
TODO
- name: load
- name: clear
doc: |
TODO
- name: map_async_status
Expand Down

0 comments on commit ac72229

Please sign in to comment.