webgpuIsDepthStencil function
Whether format is a depth or stencil layout, which decides what a texture
in it may be used for.
COPY_SRC is left off one: depth24plus has no defined byte layout at all,
so a copy out of it is refused by the specification rather than by a driver,
and asking for the usage is asking for a promise this API will not make.
Implementation
bool webgpuIsDepthStencil(TextureFormat format) =>
format == TextureFormat.s8UInt ||
format == TextureFormat.d24UnormS8Uint ||
format == TextureFormat.d32FloatS8UInt;