...
I think that Substitution should do something akin to CheckWrapped, but instead of throwing errors, it should just wrap the bad thing.
*** Bug 176678 has been marked as a duplicate of this bug. ***
Created attachment 320449 [details] the patch
Created attachment 320454 [details] the patch
Comment on attachment 320454 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=320454&action=review > Tools/WebGPUShadingLanguageRI/AutoWrapper.js:45 > + return TypeRef.wrap(node); This should be VariableRef.wrap
Comment on attachment 320454 [details] the patch Looks good.
Landed in https://trac.webkit.org/changeset/221888/webkit
<rdar://problem/34694498>
Migrated to https://github.com/gpuweb/WHLSL/issues/143