Bug 263690 - [WebGPU] Opening https://www.babylonjs.com/demos/webgpu/forestwebgpu results in a compilation error
Summary: [WebGPU] Opening https://www.babylonjs.com/demos/webgpu/forestwebgpu results ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tadeu Zagallo
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-25 15:55 PDT by Mike Wyrzykowski
Modified: 2023-10-30 03:59 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.