From 6c51c4ffe91aec269f765760e0e8b184c31a7262 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Fri, 21 Nov 2025 12:11:28 +0100 Subject: [PATCH] Add missing sType for TextureComponentSwizzleDescriptor --- webgpu.h | 1 + webgpu.json | 4 ++++ webgpu.yml | 3 +++ 3 files changed, 8 insertions(+) diff --git a/webgpu.h b/webgpu.h index f9ffb92..ab066e5 100644 --- a/webgpu.h +++ b/webgpu.h @@ -949,6 +949,7 @@ typedef enum WGPUSType { WGPUSType_SurfaceSourceXCBWindow = 0x00000009, WGPUSType_SurfaceColorManagement = 0x0000000A, WGPUSType_RequestAdapterWebXROptions = 0x0000000B, + WGPUSType_TextureComponentSwizzleDescriptor = 0x0000000C, WGPUSType_Force32 = 0x7FFFFFFF } WGPUSType WGPU_ENUM_ATTRIBUTE; diff --git a/webgpu.json b/webgpu.json index 2383753..709ef0a 100644 --- a/webgpu.json +++ b/webgpu.json @@ -1447,6 +1447,10 @@ { "doc": "TODO\n", "name": "request_adapter_WebXR_options" + }, + { + "doc": "TODO\n", + "name": "texture_component_swizzle_descriptor" } ], "name": "s_type" diff --git a/webgpu.yml b/webgpu.yml index 45d0d6f..499a727 100644 --- a/webgpu.yml +++ b/webgpu.yml @@ -817,6 +817,9 @@ enums: - name: request_adapter_WebXR_options doc: | TODO + - name: texture_component_swizzle_descriptor + doc: | + TODO - name: sampler_binding_type doc: | TODO