From ac72229aa4b4302f092119b44d5a7940fa3a12d1 Mon Sep 17 00:00:00 2001 From: Kai Ninomiya Date: Tue, 3 Sep 2024 10:11:38 -0700 Subject: [PATCH] Use same order between LoadOp and StoreOp (#323) --- webgpu.h | 4 ++-- webgpu.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/webgpu.h b/webgpu.h index 3b36f562..cfc3f964 100644 --- a/webgpu.h +++ b/webgpu.h @@ -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; diff --git a/webgpu.yml b/webgpu.yml index c257b5a6..da431c6f 100644 --- a/webgpu.yml +++ b/webgpu.yml @@ -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