Skip to content

Commit 71e9978

Browse files
authored
State that webgpu.h has the same behavior as the JS spec (#452)
1 parent 73d0ce3 commit 71e9978

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

gen/cheader.tmpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
*
1010
* This is the home of WebGPU C API specification. We define here the standard
1111
* `webgpu.h` header that all implementations should provide.
12+
*
13+
* For all details where behavior is not otherwise specified, `webgpu.h` has
14+
* the same behavior as the WebGPU specification for JavaScript on the Web.
15+
* The WebIDL-based Web specification is mapped into C as faithfully (and
16+
* bidirectionally) as practical/possible.
17+
* The working draft of WebGPU can be found at <https://www.w3.org/TR/webgpu/>.
1218
*/
1319

1420
#ifndef {{.HeaderName | ConstantCase}}_H_

webgpu.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
*
1414
* This is the home of WebGPU C API specification. We define here the standard
1515
* `webgpu.h` header that all implementations should provide.
16+
*
17+
* For all details where behavior is not otherwise specified, `webgpu.h` has
18+
* the same behavior as the WebGPU specification for JavaScript on the Web.
19+
* The WebIDL-based Web specification is mapped into C as faithfully (and
20+
* bidirectionally) as practical/possible.
21+
* The working draft of WebGPU can be found at <https://www.w3.org/TR/webgpu/>.
1622
*/
1723

1824
#ifndef WEBGPU_H_

0 commit comments

Comments
 (0)