Bug 263690

Summary: [WebGPU] Opening https://www.babylonjs.com/demos/webgpu/forestwebgpu results in a compilation error
Product: WebKit Reporter: Mike Wyrzykowski <mwyrzykowski>
Component: WebGPUAssignee: Tadeu Zagallo <tzagallo>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Mike Wyrzykowski 2023-10-25 15:55:37 PDT
[WebGPU] Opening https://www.babylonjs.com/demos/webgpu/forestwebgpu results in a compilation error

Repro:
(1) Open https://www.babylonjs.com/demos/webgpu/forestwebgpu

(2) Grep for 'MSL compilation error'

MSL compilation error: Error Domain=MTLLibraryErrorDomain Code=3 "program_source:71:37: error: use of undeclared identifier '__ArgumentBuffer_1'
    const constant type0& global2 = __ArgumentBuffer_1.global2;
                                    ^
program_source:72:37: error: use of undeclared identifier '__ArgumentBuffer_1'
    const constant type1& global3 = __ArgumentBuffer_1.global3;
                                    ^
" UserInfo={NSLocalizedDescription=program_source:71:37: error: use of undeclared identifier '__ArgumentBuffer_1'
    const constant type0& global2 = __ArgumentBuffer_1.global2;
                                    ^
program_source:72:37: error: use of undeclared identifier '__ArgumentBuffer_1'
    const constant type1& global3 = __ArgumentBuffer_1.global3;
                                    ^
}
Comment 1 Radar WebKit Bug Importer 2023-10-25 15:56:01 PDT
<rdar://problem/117501463>
Comment 2 Tadeu Zagallo 2023-10-27 02:26:38 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19630
Comment 3 EWS 2023-10-30 03:59:55 PDT
Committed 269930@main (c7659f4a59cc): <https://commits.webkit.org/269930@main>

Reviewed commits have been landed. Closing PR #19630 and removing active labels.