- From: Jasper St. Pierre <jstpierre@mecheye.net>
- Date: Fri, 1 Nov 2019 10:35:58 -0700
- To: Doug Moen <doug@moens.org>
- Cc: public-gpu@w3.org
Received on Friday, 1 November 2019 17:36:13 UTC
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 17:36:13 UTC