diff --git a/dist/index.d.ts b/dist/index.d.ts index 8756ec0..d1c9c3f 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -218,7 +218,8 @@ type GPUFeatureName = | "float32-filterable" | "float32-blendable" | "clip-distances" - | "dual-source-blending"; + | "dual-source-blending" + | "subgroups"; type GPUFilterMode = | "nearest" @@ -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: { diff --git a/generated/index.d.ts b/generated/index.d.ts index af8f520..f54b143 100644 --- a/generated/index.d.ts +++ b/generated/index.d.ts @@ -164,7 +164,8 @@ type GPUFeatureName = | "float32-filterable" | "float32-blendable" | "clip-distances" - | "dual-source-blending"; + | "dual-source-blending" + | "subgroups"; type GPUFilterMode = | "nearest" @@ -1839,6 +1840,8 @@ interface GPUAdapterInfo { readonly architecture: string; readonly device: string; readonly description: string; + readonly subgroupMinSize: number; + readonly subgroupMaxSize: number; } declare var GPUAdapterInfo: { diff --git a/gpuweb b/gpuweb index a87657b..859fdd4 160000 --- a/gpuweb +++ b/gpuweb @@ -1 +1 @@ -Subproject commit a87657b2115925db17c43486d1fb37856b56c2cc +Subproject commit 859fdd4a803a11e7b8de70483aa75c365be18b0e