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: «{{GPUTextureFormat/"bgra8unorm"}}, {{GPUTextureFormat/"rgba8unorm"}},
{{GPUTextureFormat/"rgba16float"}}».
{{GPUTextureFormat/"rgba16float"}}, {{GPUTextureFormat/"rgb10a2unorm"}}».
Note: Canvas configuration cannot use `srgb` formats like {{GPUTextureFormat/"bgra8unorm-srgb"}}. Instead, use the non-`srgb` equivalent ({{GPUTextureFormat/"bgra8unorm"}}), specify the `srgb` Expand Down
Note: Canvas configuration cannot use `srgb` formats like {{GPUTextureFormat/"bgra8unorm-srgb"}}. Instead, use the non-`srgb` equivalent ({{GPUTextureFormat/"bgra8unorm"}}), specify the `srgb` Expand Down