diff --git a/webgpu.h b/webgpu.h index bdf1035..3a3ade7 100644 --- a/webgpu.h +++ b/webgpu.h @@ -136,7 +136,6 @@ struct WGPULimits; struct WGPUMultisampleState; struct WGPUOrigin3D; struct WGPUPipelineLayoutDescriptor; -struct WGPUPrimitiveDepthClipControl; struct WGPUPrimitiveState; struct WGPUQuerySetDescriptor; struct WGPUQueueDescriptor; @@ -468,10 +467,9 @@ typedef enum WGPUSType { WGPUSType_SurfaceDescriptorFromCanvasHTMLSelector = 0x00000004, WGPUSType_ShaderModuleSPIRVDescriptor = 0x00000005, WGPUSType_ShaderModuleWGSLDescriptor = 0x00000006, - WGPUSType_PrimitiveDepthClipControl = 0x00000007, - WGPUSType_SurfaceDescriptorFromWaylandSurface = 0x00000008, - WGPUSType_SurfaceDescriptorFromAndroidNativeWindow = 0x00000009, - WGPUSType_SurfaceDescriptorFromXcbWindow = 0x0000000A, + WGPUSType_SurfaceDescriptorFromWaylandSurface = 0x00000007, + WGPUSType_SurfaceDescriptorFromAndroidNativeWindow = 0x00000008, + WGPUSType_SurfaceDescriptorFromXcbWindow = 0x00000009, WGPUSType_RenderPassDescriptorMaxDrawCount = 0x0000000F, WGPUSType_Force32 = 0x7FFFFFFF } WGPUSType WGPU_ENUM_ATTRIBUTE; @@ -971,17 +969,13 @@ typedef struct WGPUPipelineLayoutDescriptor { WGPUBindGroupLayout const * bindGroupLayouts; } WGPUPipelineLayoutDescriptor WGPU_STRUCTURE_ATTRIBUTE; -typedef struct WGPUPrimitiveDepthClipControl { - WGPUChainedStruct chain; - WGPUBool unclippedDepth; -} WGPUPrimitiveDepthClipControl WGPU_STRUCTURE_ATTRIBUTE; - typedef struct WGPUPrimitiveState { WGPUChainedStruct const * nextInChain; WGPUPrimitiveTopology topology; WGPUIndexFormat stripIndexFormat; WGPUFrontFace frontFace; WGPUCullMode cullMode; + WGPUBool unclippedDepth; } WGPUPrimitiveState WGPU_STRUCTURE_ATTRIBUTE; typedef struct WGPUQuerySetDescriptor { diff --git a/webgpu.yml b/webgpu.yml index de6648a..352b53e 100644 --- a/webgpu.yml +++ b/webgpu.yml @@ -610,9 +610,6 @@ enums: - name: shader_module_WGSL_descriptor doc: | TODO - - name: primitive_depth_clip_control - doc: | - TODO - name: surface_descriptor_from_wayland_surface doc: | TODO @@ -2091,17 +2088,6 @@ structs: TODO type: array pointer: immutable - - name: primitive_depth_clip_control - doc: | - TODO - type: extension_in - extends: - - primitive_state - members: - - name: unclipped_depth - doc: | - TODO - type: bool - name: primitive_state doc: | TODO @@ -2123,6 +2109,10 @@ structs: doc: | TODO type: enum.cull_mode + - name: unclipped_depth + doc: | + TODO + type: bool - name: programmable_stage_descriptor doc: | TODO