gpu: README: update naming rules

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-25 03:54:04 -07:00 committed by Stephen Gutekanst
parent a191eed153
commit 9b4e89e7bc

View file

@ -102,6 +102,7 @@ The rules for translating `webgpu.h` are as follows:
* `undefined` -> `undef`
* `null` -> `nul`
* `error` -> `err`
* `type` -> `typ`
* Constant names map using a few simple rules, but it's easiest to describe them with some concrete examples:
* `RG11B10Ufloat -> rg11_b10_ufloat`
* `Depth24PlusStencil8 -> depth24_plus_stencil8`