Bug 227482

Summary: ASSERT in webgl/1.0.x/conformance/glsl/misc/uninitialized-local-global-variables.html IdGen ASSERT(*base != '_');
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: ANGLEAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, ews-watchlist, kbr, kkinnunen, kondapallykalyan, kpiddington, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=223923
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Kimmo Kinnunen 2021-06-29 03:40:46 PDT
ASSERT in  webgl/1.0.x/conformance/glsl/misc/uninitialized-local-global-variables.html   IdGen ASSERT(*base != '_');
Comment 1 Kimmo Kinnunen 2021-06-29 04:16:20 PDT
Created attachment 432469 [details]
Patch
Comment 2 EWS Watchlist 2021-06-29 04:17:16 PDT
Note that there are important steps to take when updating ANGLE. See https://trac.webkit.org/wiki/UpdatingANGLE
Comment 3 Kimmo Kinnunen 2021-06-29 04:21:02 PDT
Created attachment 432470 [details]
Patch
Comment 4 Kimmo Kinnunen 2021-06-29 05:01:05 PDT
Created attachment 432471 [details]
Patch
Comment 5 Kenneth Russell 2021-06-29 15:46:35 PDT
Comment on attachment 432471 [details]
Patch

OK since this is tested, but: please keep in mind that in the WebGL shading language spec certain prefixes are reserved. See https://www.khronos.org/registry/webgl/specs/latest/1.0/#4.3 . Plausibly, if the shader compiler was instantiated for a WebGL context, it should be using "_webgl" as the prefix for all of these internally-generated names.

r+
Comment 6 EWS 2021-06-30 11:33:45 PDT
Committed r279426 (239287@main): <https://commits.webkit.org/239287@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 432471 [details].
Comment 7 Radar WebKit Bug Importer 2021-06-30 11:34:42 PDT
<rdar://problem/79977324>