- From: Corentin Wallez <cwallez@google.com>
- Date: Mon, 4 Nov 2019 17:39:40 +0100
- To: Doug Moen <doug@moens.org>
- Cc: public-gpu <public-gpu@w3.org>
Received on Monday, 4 November 2019 16:39:55 UTC
On Fri, Nov 1, 2019 at 6:23 PM 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. > I understand your concerns. I think it is safe to assume that if WebGPU doesn't ingest SPIRV then there will at least be a <WebGPU's language> to SPIRV compiler.
Received on Monday, 4 November 2019 16:39:55 UTC