diff --git a/webgpu.h b/webgpu.h index d280499..24d9422 100644 --- a/webgpu.h +++ b/webgpu.h @@ -3845,11 +3845,11 @@ typedef struct WGPUFutureWaitInfo { typedef struct WGPUInstanceDescriptor { WGPUChainedStruct * nextInChain; /** - * Instance features to enable + * Instance capabilities to enable. * * The `INIT` macro sets this to @ref WGPU_INSTANCE_CAPABILITIES_INIT. */ - WGPUInstanceCapabilities features; + WGPUInstanceCapabilities capabilities; } WGPUInstanceDescriptor WGPU_STRUCTURE_ATTRIBUTE; /** @@ -3857,7 +3857,7 @@ typedef struct WGPUInstanceDescriptor { */ #define WGPU_INSTANCE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUInstanceDescriptor, { \ /*.nextInChain=*/NULL _wgpu_COMMA \ - /*.features=*/WGPU_INSTANCE_CAPABILITIES_INIT _wgpu_COMMA \ + /*.capabilities=*/WGPU_INSTANCE_CAPABILITIES_INIT _wgpu_COMMA \ }) /** diff --git a/webgpu.yml b/webgpu.yml index 2f4af11..8d77c40 100644 --- a/webgpu.yml +++ b/webgpu.yml @@ -2074,8 +2074,8 @@ structs: TODO type: extensible members: - - name: features - doc: Instance features to enable + - name: capabilities + doc: Instance capabilities to enable. type: struct.instance_capabilities - name: limits doc: |