From 7d2b54d88184690c96825d07d62f0bbd821330d1 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 16 Jul 2022 19:33:49 -0700 Subject: [PATCH] gpu: document Dawn extension policy Signed-off-by: Stephen Gutekanst --- gpu/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/gpu/README.md b/gpu/README.md index 5588b21e..53781a9b 100644 --- a/gpu/README.md +++ b/gpu/README.md @@ -110,3 +110,4 @@ The rules for translating `webgpu.h` are as follows: * `ASTC4x4UnormSrgb -> astc4x4_unorm_srgb` * `maxTextureDimension3D -> max_texture_dimension_3d` * Sometimes an enum will begin with numbers, e.g. `WGPUTextureViewDimension_2DArray`. In this case, we add a prefix so instead of the enum field being `2d_array` it is `dimension_2d_array` (an enum field name must not start with a number in Zig.) +* Dawn extension types `WGPUDawnFoobar` are placed under `gpu.dawn.Foobar` \ No newline at end of file