Re: webgpu.h for using WebGPU in native and through emscripten

Please don't speculate on this while it's still under active discussion.
For what it's worth, that's not what I expect to happen.

On Fri, Nov 1, 2019 at 10:36 AM Jasper St. Pierre <jstpierre@mecheye.net>
wrote:

> Reading the room, I suspect that an extension to ingest SPIR-V will be
> developed for use in the webgpu-native flavor, even if WSL is chosen as the
> official shading language for WebGPU.
>
> On Fri, Nov 1, 2019 at 10:23 AM Doug Moen <doug@moens.org> wrote:
>
>> Corentin said: "If you're interested in using WebGPU in native ..."
>>
>> Is there any timeline for deciding whether the shader language is SPIR-V
>> or WHSLS?
>> I'm looking for a date range:
>> * It likely won't be decided before date X
>> * It likely will be decided before date Y
>>
>> I'm asking because webgpu.h currently ingests SPIR-V:
>>
>> typedef struct WGPUShaderModuleDescriptor {
>>     void const * nextInChain;
>>     char const * label;
>>     uint32_t codeSize;
>>     uint32_t const * code;
>> } WGPUShaderModuleDescriptor;
>>
>> and this could change to WHLSL at some point, which for me is quite a
>> disruptive change. I figure that when the shader language is chosen, then
>> webgpu.h will be stable enough for my purposes to start writing
>> experimental code.
>>
>
>
> --
>   Jasper
>

Received on Friday, 1 November 2019 21:34:41 UTC