summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/webgpu/gpu_texture_descriptor.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webgpu/gpu_texture_descriptor.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/webgpu/gpu_texture_descriptor.idl17
1 files changed, 16 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webgpu/gpu_texture_descriptor.idl b/chromium/third_party/blink/renderer/modules/webgpu/gpu_texture_descriptor.idl
index e7b7b96b274..6dbb94ad9f6 100644
--- a/chromium/third_party/blink/renderer/modules/webgpu/gpu_texture_descriptor.idl
+++ b/chromium/third_party/blink/renderer/modules/webgpu/gpu_texture_descriptor.idl
@@ -65,5 +65,20 @@ enum GPUTextureFormat {
/* Depth / Stencil formats */
"depth32float",
"depth24plus",
- "depth24plus-stencil8"
+ "depth24plus-stencil8",
+ /* Block Compression (BC) formats */
+ "bc1-rgba-unorm",
+ "bc1-rgba-unorm-srgb",
+ "bc2-rgba-unorm",
+ "bc2-rgba-unorm-srgb",
+ "bc3-rgba-unorm",
+ "bc3-rgba-unorm-srgb",
+ "bc4-r-unorm",
+ "bc4-r-snorm",
+ "bc5-rg-unorm",
+ "bc5-rg-snorm",
+ "bc6h-rgb-ufloat",
+ "bc6h-rgb-sfloat",
+ "bc7-rgba-unorm",
+ "bc7-rgba-unorm-srgb"
};