From b0e31ba791eb56cd7bf1ad21608d2304cea1d446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Beaufort?= Date: Wed, 10 Jul 2024 07:50:17 +0000 Subject: [PATCH] Drop Descriptor from SType enums --- webgpu.h | 18 +++++++++--------- webgpu.yml | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/webgpu.h b/webgpu.h index cb423fc..3342c0c 100644 --- a/webgpu.h +++ b/webgpu.h @@ -462,16 +462,16 @@ typedef enum WGPURequestDeviceStatus { typedef enum WGPUSType { WGPUSType_Invalid = 0x00000000, - WGPUSType_SurfaceDescriptorFromMetalLayer = 0x00000001, - WGPUSType_SurfaceDescriptorFromWindowsHWND = 0x00000002, - WGPUSType_SurfaceDescriptorFromXlibWindow = 0x00000003, - WGPUSType_SurfaceDescriptorFromCanvasHTMLSelector = 0x00000004, - WGPUSType_ShaderModuleSPIRVDescriptor = 0x00000005, - WGPUSType_ShaderModuleWGSLDescriptor = 0x00000006, + WGPUSType_SurfaceFromMetalLayer = 0x00000001, + WGPUSType_SurfaceFromWindowsHWND = 0x00000002, + WGPUSType_SurfaceFromXlibWindow = 0x00000003, + WGPUSType_SurfaceFromCanvasHTMLSelector = 0x00000004, + WGPUSType_ShaderModuleSPIRV = 0x00000005, + WGPUSType_ShaderModuleWGSL = 0x00000006, WGPUSType_PrimitiveDepthClipControl = 0x00000007, - WGPUSType_SurfaceDescriptorFromWaylandSurface = 0x00000008, - WGPUSType_SurfaceDescriptorFromAndroidNativeWindow = 0x00000009, - WGPUSType_SurfaceDescriptorFromXcbWindow = 0x0000000A, + WGPUSType_SurfaceFromWaylandSurface = 0x00000008, + WGPUSType_SurfaceFromAndroidNativeWindow = 0x00000009, + WGPUSType_SurfaceFromXcbWindow = 0x0000000A, WGPUSType_RenderPassDescriptorMaxDrawCount = 0x0000000F, WGPUSType_Force32 = 0x7FFFFFFF } WGPUSType WGPU_ENUM_ATTRIBUTE; diff --git a/webgpu.yml b/webgpu.yml index 436bbee..531a313 100644 --- a/webgpu.yml +++ b/webgpu.yml @@ -740,34 +740,34 @@ enums: - name: invalid doc: | TODO - - name: surface_descriptor_from_metal_layer + - name: surface_from_metal_layer doc: | TODO - - name: surface_descriptor_from_windows_HWND + - name: surface_from_windows_HWND doc: | TODO - - name: surface_descriptor_from_xlib_window + - name: surface_from_xlib_window doc: | TODO - - name: surface_descriptor_from_canvas_HTML_selector + - name: surface_from_canvas_HTML_selector doc: | TODO - - name: shader_module_SPIRV_descriptor + - name: shader_module_SPIRV doc: | TODO - - name: shader_module_WGSL_descriptor + - name: shader_module_WGSL doc: | TODO - name: primitive_depth_clip_control doc: | TODO - - name: surface_descriptor_from_wayland_surface + - name: surface_from_wayland_surface doc: | TODO - - name: surface_descriptor_from_android_native_window + - name: surface_from_android_native_window doc: | TODO - - name: surface_descriptor_from_xcb_window + - name: surface_from_xcb_window doc: | TODO - name: render_pass_descriptor_max_draw_count