diff --git a/README.md b/README.md index ebd919e..ee63dc6 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,7 @@ Most or all of these should be fixed in the generator over time. The following differences are TODO: should be changed in the final result. - Deprecated items should be removed. +- Addition of Compatibility Mode items like `textureBindingViewDimension`. The following differences will remain. diff --git a/dist/index.d.ts b/dist/index.d.ts index 93d113b..e91d098 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1619,6 +1619,17 @@ interface GPUTextureDescriptor * */ viewFormats?: Iterable; + /** + * **PROPOSED** addition for Compatibility Mode: + * + * + * > [In compatibility mode,] + * > When specifying a texture, a textureBindingViewDimension property + * > determines the views which can be bound from that texture for sampling. + * > Binding a view of a different dimension for sampling than specified at + * > texture creation time will cause a validation error. + */ + textureBindingViewDimension?: GPUTextureViewDimension; } interface GPUTextureViewDescriptor