Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Descriptor from SType enums #310

Merged
merged 2 commits into from
Jul 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions webgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -503,16 +503,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;
Expand Down
18 changes: 9 additions & 9 deletions webgpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -693,34 +693,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
Expand Down
Loading