diff --git a/webgpu.h b/webgpu.h index 521ee1c..5b760bd 100644 --- a/webgpu.h +++ b/webgpu.h @@ -1028,6 +1028,7 @@ typedef struct WGPUStorageTextureBindingLayout { typedef struct WGPUSurfaceCapabilities { WGPUChainedStructOut * nextInChain; + WGPUTextureUsageFlags usages; size_t formatCount; WGPUTextureFormat const * formats; size_t presentModeCount; diff --git a/webgpu.yml b/webgpu.yml index ccf3b9b..c4755ae 100644 --- a/webgpu.yml +++ b/webgpu.yml @@ -1667,6 +1667,10 @@ structs: type: base_out free_members: true members: + - name: usages + doc: | + TODO + type: bitflag.texture_usage - name: formats doc: | TODO