diff --git a/gpu/TODO-webgpu.h b/gpu/TODO-webgpu.h index f1ba7313..8a6b3241 100644 --- a/gpu/TODO-webgpu.h +++ b/gpu/TODO-webgpu.h @@ -1,11 +1,5 @@ typedef uint32_t WGPUFlags; -typedef enum WGPUComputePassTimestampLocation { - WGPUComputePassTimestampLocation_Beginning = 0x00000000, - WGPUComputePassTimestampLocation_End = 0x00000001, - WGPUComputePassTimestampLocation_Force32 = 0x7FFFFFFF -} WGPUComputePassTimestampLocation; - typedef enum WGPUCreatePipelineAsyncStatus { WGPUCreatePipelineAsyncStatus_Success = 0x00000000, WGPUCreatePipelineAsyncStatus_Error = 0x00000001, diff --git a/gpu/src/types.zig b/gpu/src/types.zig index d925a935..74528058 100644 --- a/gpu/src/types.zig +++ b/gpu/src/types.zig @@ -75,3 +75,8 @@ pub const CompilationMessageType = enum(u32) { warning = 0x00000001, info = 0x00000002, }; + +pub const ComputePassTimestampLocation = enum(u32) { + beginning = 0x00000000, + end = 0x00000001, +};