Skip to content
Closed
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
20 changes: 20 additions & 0 deletions webgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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 \
Expand Down
20 changes: 20 additions & 0 deletions webgpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading