diff --git a/dist/index.d.ts b/dist/index.d.ts index c165446..eedcb3f 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -170,8 +170,8 @@ type GPUCanvasAlphaMode = | "premultiplied"; type GPUCanvasToneMappingMode = - | "standard" - | "extended"; + | "standard" + | "extended"; type GPUCompareFunction = | "never" @@ -206,8 +206,10 @@ type GPUFeatureName = | "depth-clip-control" | "depth32float-stencil8" | "texture-compression-bc" + | "texture-compression-bc-sliced-3d" | "texture-compression-etc2" | "texture-compression-astc" + | "texture-compression-astc-sliced-3d" | "timestamp-query" | "indirect-first-instance" | "shader-f16" @@ -766,15 +768,15 @@ interface GPUDepthStencilState { */ stencilWriteMask?: GPUStencilValue; /** - * Constant depth bias added to each fragment. See [$biased fragment depth$] for details. + * Constant depth bias added to each triangle fragment. See [$biased fragment depth$] for details. */ depthBias?: GPUDepthBias; /** - * Depth bias that scales with the fragment’s slope. See [$biased fragment depth$] for details. + * Depth bias that scales with the triangle fragment’s slope. See [$biased fragment depth$] for details. */ depthBiasSlopeScale?: number; /** - * The maximum depth bias of a fragment. See [$biased fragment depth$] for details. + * The maximum depth bias of a triangle fragment. See [$biased fragment depth$] for details. */ depthBiasClamp?: number; } @@ -791,9 +793,9 @@ interface GPUDeviceDescriptor /** * Specifies the limits that are required by the device request. * The request will fail if the adapter cannot provide these limits. - * Each key must be the name of a member of supported limits. - * Exactly the specified limits, and no limit/better or worse, - * will be allowed in validation of API calls on the resulting device. + * Each key with a non-`undefined` value must be the name of a member of supported limits. + * API calls on the resulting device perform validation according to the exact limits of the + * device (not the adapter; see [[#limits]]). *