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

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.

Received on Friday, 1 November 2019 17:23:05 UTC