Skip to content
Merged
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
13 changes: 12 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ type GPUFeatureName =
| "float32-filterable"
| "float32-blendable"
| "clip-distances"
| "dual-source-blending";
| "dual-source-blending"
| "subgroups";
type GPUFilterMode =

| "nearest"
Expand Down Expand Up @@ -2027,6 +2028,16 @@ interface GPUAdapterInfo {
* other fields when possible.
*/
readonly description: string;
/**
* If the "subgroups" feature is supported, the minimum supported subgroup size for the
* adapter.
*/
readonly subgroupMinSize: number;
/**
* If the "subgroups" feature is supported, the maximum supported subgroup size for the
* adapter.
*/
readonly subgroupMaxSize: number;
}

declare var GPUAdapterInfo: {
Expand Down
5 changes: 4 additions & 1 deletion generated/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ type GPUFeatureName =
| "float32-filterable"
| "float32-blendable"
| "clip-distances"
| "dual-source-blending";
| "dual-source-blending"
| "subgroups";
type GPUFilterMode =

| "nearest"
Expand Down Expand Up @@ -1839,6 +1840,8 @@ interface GPUAdapterInfo {
readonly architecture: string;
readonly device: string;
readonly description: string;
readonly subgroupMinSize: number;
readonly subgroupMaxSize: number;
}

declare var GPUAdapterInfo: {
Expand Down
Loading