diff --git a/webgpu.h b/webgpu.h index a143beb..a090a27 100644 --- a/webgpu.h +++ b/webgpu.h @@ -2031,10 +2031,26 @@ typedef struct WGPULimits { * The `INIT` macro sets this to @ref WGPU_LIMIT_U32_UNDEFINED. */ uint32_t maxStorageBuffersPerShaderStage; + /** + * The `INIT` macro sets this to @ref WGPU_LIMIT_U32_UNDEFINED. + */ + uint32_t maxStorageBuffersInVertexStage; + /** + * The `INIT` macro sets this to @ref WGPU_LIMIT_U32_UNDEFINED. + */ + uint32_t maxStorageBuffersInFragmentStage; /** * The `INIT` macro sets this to @ref WGPU_LIMIT_U32_UNDEFINED. */ uint32_t maxStorageTexturesPerShaderStage; + /** + * The `INIT` macro sets this to @ref WGPU_LIMIT_U32_UNDEFINED. + */ + uint32_t maxStorageTexturesInVertexStage; + /** + * The `INIT` macro sets this to @ref WGPU_LIMIT_U32_UNDEFINED. + */ + uint32_t maxStorageTexturesInFragmentStage; /** * The `INIT` macro sets this to @ref WGPU_LIMIT_U32_UNDEFINED. */ @@ -2126,7 +2142,11 @@ typedef struct WGPULimits { /*.maxSampledTexturesPerShaderStage=*/WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \ /*.maxSamplersPerShaderStage=*/WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \ /*.maxStorageBuffersPerShaderStage=*/WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \ + /*.maxStorageBuffersInVertexStage=*/WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \ + /*.maxStorageBuffersInFragmentStage=*/WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \ /*.maxStorageTexturesPerShaderStage=*/WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \ + /*.maxStorageTexturesInVertexStage=*/WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \ + /*.maxStorageTexturesInFragmentStage=*/WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \ /*.maxUniformBuffersPerShaderStage=*/WGPU_LIMIT_U32_UNDEFINED _wgpu_COMMA \ /*.maxUniformBufferBindingSize=*/WGPU_LIMIT_U64_UNDEFINED _wgpu_COMMA \ /*.maxStorageBufferBindingSize=*/WGPU_LIMIT_U64_UNDEFINED _wgpu_COMMA \ diff --git a/webgpu.yml b/webgpu.yml index 2f4af11..cd8214a 100644 --- a/webgpu.yml +++ b/webgpu.yml @@ -2142,11 +2142,31 @@ structs: TODO type: uint32 default: constant.limit_u32_undefined + - name: max_storage_buffers_in_vertex_stage + doc: | + TODO + type: uint32 + default: constant.limit_u32_undefined + - name: max_storage_buffers_in_fragment_stage + doc: | + TODO + type: uint32 + default: constant.limit_u32_undefined - name: max_storage_textures_per_shader_stage doc: | TODO type: uint32 default: constant.limit_u32_undefined + - name: max_storage_textures_in_vertex_stage + doc: | + TODO + type: uint32 + default: constant.limit_u32_undefined + - name: max_storage_textures_in_fragment_stage + doc: | + TODO + type: uint32 + default: constant.limit_u32_undefined - name: max_uniform_buffers_per_shader_stage doc: | TODO