There is no support for the new semantic syntax introduced in https://bugs.webkit.org/show_bug.cgi?id=189134.
As part of the support for this, I’m going to rewrite the way that code generation for entry points works, so that the following is now true:
* All stage_in parameters are collected into a single struct type with appropriate attributes set based on semantics (e.g. position, other offsets)
* All other parameters (buffers, textures, etc) are separated out with appropriate offsets/attributes determined based on the semantics in the original WHLSL
* Entry points in WHLSL are just compiled as regular Metal functions, as they were before, except that now an additional wrapper method unpacks the new parameters and repacks them in the style expected by WHLSL, and the same is true on the return.
Created attachment 351141 [details]
Migrated to https://api.github.com/repos/gpuweb/WHLSL/issues/25