Create a SPIR-V assembler
Created attachment 322335 [details] WIP WIP
Created attachment 322408 [details] Patch Patch
Created attachment 322493 [details] Patch
Comment on attachment 322493 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=322493&action=review > Tools/WebGPUShadingLanguageRI/SPIR-V.js:30 > + var xhr = new XMLHttpRequest(); > + xhr.addEventListener("load", function () { > + let json = JSON.parse(this.responseText); This can be made a bit more modern by either using fetch() with response.json (which I would recommend) or by continuing to use XHR and using xhr.responseType = "json".
Created attachment 322543 [details] WIP
Created attachment 322576 [details] Patch Patch
Comment on attachment 322576 [details] Patch rs=me
Committed r222825: <http://trac.webkit.org/changeset/222825>
<rdar://problem/34803955>
Migrated to https://github.com/gpuweb/WHLSL/issues/167