WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
226865
WebGL2 demo doesn't work due to failing compilation to metal backend
https://bugs.webkit.org/show_bug.cgi?id=226865
Summary
WebGL2 demo doesn't work due to failing compilation to metal backend
Oliver Hunt
Reported
2021-06-09 21:47:22 PDT
The demo is at
https://zynaps.com/content/photon/
Checking for the error told me to file a bug :D
Attachments
Patch
(4.99 KB, patch)
2021-07-08 17:20 PDT
,
Kyle Piddington
no flags
Details
Formatted Diff
Diff
Patch
(5.72 KB, patch)
2021-07-09 13:54 PDT
,
Kyle Piddington
no flags
Details
Formatted Diff
Diff
Patch
(5.79 KB, patch)
2021-07-09 14:07 PDT
,
Kyle Piddington
no flags
Details
Formatted Diff
Diff
Patch
(5.79 KB, patch)
2021-07-14 19:08 PDT
,
Kyle Piddington
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Kyle Piddington
Comment 1
2021-06-10 12:36:22 PDT
Thank you for filing! I'll have a look!
Radar WebKit Bug Importer
Comment 2
2021-06-11 12:45:27 PDT
<
rdar://problem/79211560
>
Kyle Piddington
Comment 3
2021-07-08 13:56:28 PDT
I suspect this was a duplicate of
https://bugs.webkit.org/show_bug.cgi?id=226660
, due to 'metal' being a pretty common struct member in most tracers. This appears to be working on current Top-of-Tree webkit, can you verify this on your end? *** This bug has been marked as a duplicate of
bug 226660
***
Kyle Piddington
Comment 4
2021-07-08 15:18:18 PDT
I apologize, I closed this early. Reopening...
Kyle Piddington
Comment 5
2021-07-08 17:20:21 PDT
Created
attachment 433189
[details]
Patch
EWS Watchlist
Comment 6
2021-07-08 17:21:27 PDT
Note that there are important steps to take when updating ANGLE. See
https://trac.webkit.org/wiki/UpdatingANGLE
Kenneth Russell
Comment 7
2021-07-08 17:39:09 PDT
Comment on
attachment 433189
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=433189&action=review
> LayoutTests/fast/canvas/webgl/shader-with-struct-array.html:36 > + description("Tests that program compiling/linking with a reserved keyword.");
Remove "that" to make this grammatically correct?
> LayoutTests/fast/canvas/webgl/shader-with-struct-array.html:43 > + runShaderTest(gl, vShaderSource, fshaderSource, "no error for using reserved keyword in struct")
Could you explain here what the reserved keyword is? This comment, and the description, don't seem to match the code change.
Kenneth Russell
Comment 8
2021-07-08 17:40:52 PDT
Note: I filed: Add glsl3 regression test for arrays-of-structs bug in ANGLE's direct-to-Metal backend
https://github.com/KhronosGroup/WebGL/issues/3298
about porting this new test into the WebGL conformance suite. Would be great if you could put up a pull request, but no worries if not.
Dean Jackson
Comment 9
2021-07-09 10:42:02 PDT
Comment on
attachment 433189
[details]
Patch +1 to Ken's comments.
Dean Jackson
Comment 10
2021-07-09 10:43:20 PDT
Comment on
attachment 433189
[details]
Patch Remember to provide the expected results for the test :)
Kyle Piddington
Comment 11
2021-07-09 13:54:11 PDT
Created
attachment 433237
[details]
Patch
Kenneth Russell
Comment 12
2021-07-09 13:57:00 PDT
Comment on
attachment 433237
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=433237&action=review
> LayoutTests/fast/canvas/webgl/shader-with-struct-array.html:36 > + description("Tests that program compiling/linking with a reserved keyword.");
Still have grammatical question about the description from the first patch.
> LayoutTests/fast/canvas/webgl/shader-with-struct-array.html:43 > + runShaderTest(gl, vShaderSource, fshaderSource, "no error for using reserved keyword in struct")
Still have question about how accurate this comment is, relative to the code change. It looks more like a bug in handling of arrays of structs, than using reserved keywords.
Kyle Piddington
Comment 13
2021-07-09 14:07:20 PDT
Created
attachment 433238
[details]
Patch
Kyle Piddington
Comment 14
2021-07-09 15:21:46 PDT
One more run, I forgot to change the result text.
Kyle Piddington
Comment 15
2021-07-14 19:08:38 PDT
Created
attachment 433556
[details]
Patch
EWS
Comment 16
2021-07-15 15:57:04 PDT
Committed
r279968
(
239711@main
): <
https://commits.webkit.org/239711@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 433556
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug