Skip to content

Commit

Permalink
Remove WGPUAdapterProperties/wgpuAdapterGetProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois committed Jun 12, 2024
1 parent b2c0fbd commit c4dbc46
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 62 deletions.
15 changes: 0 additions & 15 deletions webgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ typedef struct WGPUTextureViewImpl* WGPUTextureView WGPU_OBJECT_ATTRIBUTE;
/** @} */
// Structure forward declarations
struct WGPUAdapterInfo;
struct WGPUAdapterProperties;
struct WGPUBindGroupEntry;
struct WGPUBlendComponent;
struct WGPUBufferBindingLayout;
Expand Down Expand Up @@ -834,18 +833,6 @@ typedef struct WGPUAdapterInfo {
uint32_t deviceID;
} WGPUAdapterInfo WGPU_STRUCTURE_ATTRIBUTE;

typedef struct WGPUAdapterProperties {
WGPUChainedStructOut * nextInChain;
uint32_t vendorID;
char const * vendorName;
char const * architecture;
uint32_t deviceID;
char const * name;
char const * driverDescription;
WGPUAdapterType adapterType;
WGPUBackendType backendType;
} WGPUAdapterProperties WGPU_STRUCTURE_ATTRIBUTE;

typedef struct WGPUBindGroupEntry {
WGPUChainedStruct const * nextInChain;
uint32_t binding;
Expand Down Expand Up @@ -1426,7 +1413,6 @@ typedef WGPUProc (*WGPUProcGetProcAddress)(WGPUDevice device, char const * procN
typedef size_t (*WGPUProcAdapterEnumerateFeatures)(WGPUAdapter adapter, WGPUFeatureName * features) WGPU_FUNCTION_ATTRIBUTE;
typedef void (*WGPUProcAdapterGetInfo)(WGPUAdapter adapter, WGPUAdapterInfo * info) WGPU_FUNCTION_ATTRIBUTE;
typedef WGPUBool (*WGPUProcAdapterGetLimits)(WGPUAdapter adapter, WGPUSupportedLimits * limits) WGPU_FUNCTION_ATTRIBUTE;
typedef void (*WGPUProcAdapterGetProperties)(WGPUAdapter adapter, WGPUAdapterProperties * properties) WGPU_FUNCTION_ATTRIBUTE;
typedef WGPUBool (*WGPUProcAdapterHasFeature)(WGPUAdapter adapter, WGPUFeatureName feature) WGPU_FUNCTION_ATTRIBUTE;
typedef void (*WGPUProcAdapterRequestDevice)(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const * descriptor, WGPUAdapterRequestDeviceCallback callback, WGPU_NULLABLE void * userdata) WGPU_FUNCTION_ATTRIBUTE;
typedef void (*WGPUProcAdapterReference)(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE;
Expand Down Expand Up @@ -1683,7 +1669,6 @@ WGPU_EXPORT WGPUProc wgpuGetProcAddress(WGPUDevice device, char const * procName
WGPU_EXPORT size_t wgpuAdapterEnumerateFeatures(WGPUAdapter adapter, WGPUFeatureName * features) WGPU_FUNCTION_ATTRIBUTE;
WGPU_EXPORT void wgpuAdapterGetInfo(WGPUAdapter adapter, WGPUAdapterInfo * info) WGPU_FUNCTION_ATTRIBUTE;
WGPU_EXPORT WGPUBool wgpuAdapterGetLimits(WGPUAdapter adapter, WGPUSupportedLimits * limits) WGPU_FUNCTION_ATTRIBUTE;
WGPU_EXPORT void wgpuAdapterGetProperties(WGPUAdapter adapter, WGPUAdapterProperties * properties) WGPU_FUNCTION_ATTRIBUTE;
WGPU_EXPORT WGPUBool wgpuAdapterHasFeature(WGPUAdapter adapter, WGPUFeatureName feature) WGPU_FUNCTION_ATTRIBUTE;
WGPU_EXPORT void wgpuAdapterRequestDevice(WGPUAdapter adapter, WGPU_NULLABLE WGPUDeviceDescriptor const * descriptor, WGPUAdapterRequestDeviceCallback callback, WGPU_NULLABLE void * userdata) WGPU_FUNCTION_ATTRIBUTE;
WGPU_EXPORT void wgpuAdapterReference(WGPUAdapter adapter) WGPU_FUNCTION_ATTRIBUTE;
Expand Down
47 changes: 0 additions & 47 deletions webgpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1485,44 +1485,6 @@ structs:
TODO
type: uint32

- name: adapter_properties
doc: |
TODO
type: base_out
members:
- name: vendor_ID
doc: |
TODO
type: uint32
- name: vendor_name
doc: |
TODO
type: string
- name: architecture
doc: |
TODO
type: string
- name: device_ID
doc: |
TODO
type: uint32
- name: name
doc: |
TODO
type: string
- name: driver_description
doc: |
TODO
type: string
- name: adapter_type
doc: |
TODO
type: enum.adapter_type
- name: backend_type
doc: |
TODO
type: enum.backend_type

- name: device_descriptor
doc: |
TODO
Expand Down Expand Up @@ -3149,15 +3111,6 @@ objects:
TODO
type: struct.supported_limits
pointer: mutable
- name: get_properties
doc: |
TODO
args:
- name: properties
doc: |
TODO
type: struct.adapter_properties
pointer: mutable
- name: has_feature
doc: |
TODO
Expand Down

0 comments on commit c4dbc46

Please sign in to comment.