const getTextureFormatDims: ( format: GPUTextureFormat, aspect?: GPUTextureAspect, ) => number
Number of dimensions for texture formats
packages / core / src / constants.ts