Add rgb10a2unorm as a canvas format by kainino0x · Pull Request #4207 · gpuweb/gpuweb

Expand Up @@ -13493,7 +13493,7 @@ The <dfn dfn>supported context formats</dfn> are a [=set=] of {{GPUTextureFormat supported when specified as a {{GPUCanvasConfiguration}}.{{GPUCanvasConfiguration/format}} regardless of the given {{GPUCanvasConfiguration}}.{{GPUCanvasConfiguration/device}}, initially set to: &laquo;{{GPUTextureFormat/"bgra8unorm"}}, {{GPUTextureFormat/"rgba8unorm"}}, {{GPUTextureFormat/"rgba16float"}}&raquo;. {{GPUTextureFormat/"rgba16float"}}, {{GPUTextureFormat/"rgb10a2unorm"}}&raquo;.
Note: Canvas configuration cannot use `srgb` formats like {{GPUTextureFormat/"bgra8unorm-srgb"}}. Instead, use the non-`srgb` equivalent ({{GPUTextureFormat/"bgra8unorm"}}), specify the `srgb` Expand Down