- From: David Neto <dneto@google.com>
- Date: Tue, 6 Dec 2022 18:04:10 -0500
- To: media-types@iana.org
- Cc: public-gpu <public-gpu@w3.org>
- Message-ID: <CAPmVsJU5TAoCck9enU4LFoBcfFUapkKMFZdUqBLBwC+iSLF0Bg@mail.gmail.com>
Hello media-types@iana.org,
I am one of the spec editors of the "WebGPU Shading Language", an upcoming
W3C standard.
I would like a preliminary review of the proposed text/wgsl media type
registration, copied below.
The registration details are also incorporated as a normative appendix to
the editor's draft of the WGSL spec:
https://gpuweb.github.io/gpuweb/wgsl/#text-wgsl-media-type
Preliminary discussion at W3C can be found at
https://github.com/gpuweb/gpuweb/pull/3542 and in prior issues and meeting
minutes.
thanks,
david
Cc'ing public-gpu@w3.org for archiving.
-------------------------
Type name: text
Subtype name: wgsl
Required parameters: N/A
Optional parameters: None
Encoding considerations: binary
WGSL is Unicode text using the UTF-8 encoding, with no byte order mark
(BOM).
See [WGSL] Section 3. Textual Structure.
Security considerations:
WebGPU Shading Language (WGSL) is a programming language for GPU
code to be executed in the context of the WebGPU API. For security
considerations, see [WebGPU] Section 2.1 Security Considerations.
Interoperability considerations:
Implementations of WebGPU may have different capabilities, and
these differences may affect what features may be exercised by
WGSL programs. See [WebGPU] Section 3.6 Optional capabilities,
and [WGSL] Section 11. Language Extensions.
It is expected that implementations will behave as if this
registration applies to later editions of [WGSL], and its published
specification references may be updated accordingly from time to
time. Although this expectation is unusual among media type
registrations, it matches widespread industry conventions.
Published specification: [WGSL]
Applications that use this media type:
Implementations of WebGPU [WebGPU]. This is expected to include
web browsers.
Fragment identifier considerations: None
Additional information:
Magic number(s): None
File extension(s): .wgsl
Macintosh file type code(s): TEXT
Person & email address to contact for further information:
David Neto, dneto@google.com, or the Editors listed in [WGSL].
Intended usage: COMMON
Author: W3C. See the Editors listed in [WGSL].
Change controller: W3C
Normative References:
[WebGPU] W3C, "WebGPU” W3C Working Draft, October 2022.
<https://www.w3.org/TR/webgpu/>.
[WGSL] W3C, “WebGPU Shading Language” W3C Working Draft, October
2022. <https://www.w3.org/TR/wgsl/>.
Received on Tuesday, 6 December 2022 23:05:00 UTC