gpu: README: update naming rules
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a191eed153
commit
9b4e89e7bc
1 changed files with 1 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ The rules for translating `webgpu.h` are as follows:
|
||||||
* `undefined` -> `undef`
|
* `undefined` -> `undef`
|
||||||
* `null` -> `nul`
|
* `null` -> `nul`
|
||||||
* `error` -> `err`
|
* `error` -> `err`
|
||||||
|
* `type` -> `typ`
|
||||||
* Constant names map using a few simple rules, but it's easiest to describe them with some concrete examples:
|
* Constant names map using a few simple rules, but it's easiest to describe them with some concrete examples:
|
||||||
* `RG11B10Ufloat -> rg11_b10_ufloat`
|
* `RG11B10Ufloat -> rg11_b10_ufloat`
|
||||||
* `Depth24PlusStencil8 -> depth24_plus_stencil8`
|
* `Depth24PlusStencil8 -> depth24_plus_stencil8`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue