Skip to content

Commit

Permalink
State that webgpu.h has the same behavior as the JS spec
Browse files Browse the repository at this point in the history
  • Loading branch information
kainino0x committed Nov 28, 2024
1 parent 9e8d097 commit 931a7a7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gen/cheader.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
*
* This is the home of WebGPU C API specification. We define here the standard
* `webgpu.h` header that all implementations should provide.
*
* For all details where behavior is not otherwise specified, `webgpu.h` has
* the same behavior as the WebGPU specification for JavaScript on the Web.
* The WebIDL-based Web specification is mapped into C as faithfully (and
* bidirectionally) as practical/possible.
* The working draft of WebGPU can be found at <https://www.w3.org/TR/webgpu/>.
*/

#ifndef {{.HeaderName | ConstantCase}}_H_
Expand Down
6 changes: 6 additions & 0 deletions webgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
*
* This is the home of WebGPU C API specification. We define here the standard
* `webgpu.h` header that all implementations should provide.
*
* For all details where behavior is not otherwise specified, `webgpu.h` has
* the same behavior as the WebGPU specification for JavaScript on the Web.
* The WebIDL-based Web specification is mapped into C as faithfully (and
* bidirectionally) as practical/possible.
* The working draft of WebGPU can be found at <https://www.w3.org/TR/webgpu/>.
*/

#ifndef WEBGPU_H_
Expand Down

0 comments on commit 931a7a7

Please sign in to comment.