[NSFW] WebGL game broken: https://love-joint-games.com/DfD/public/ch14/1.0.0/
Categories
(Core :: Graphics: CanvasWebGL, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox73 | --- | unaffected |
firefox74 | + | wontfix |
firefox75 | --- | verified |
People
(Reporter: jgilbert, Assigned: jgilbert)
References
(Regression, )
Details
(Keywords: regression)
Attachments
(4 files, 2 obsolete files)
Via webcompat: https://github.com/webcompat/web-bugs/issues/48441
Another likely regression from bug 1477756.
Assignee | ||
Comment 1•5 years ago
•
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Like 76 of the shader itself (not counting "Begin Shader" header) is:
// Normally we'd have the light positions\directions back-transformed from world to object space
I guess we don't have CTS tests for this?
Assignee | ||
Comment 3•5 years ago
|
||
While this is definitely not supported by ESSL100, WebGL 1 is laxer:
The exception is that any character allowed in an HTML DOMString [DOMSTRING] may be used in GLSL comments. Such use must not generate an error.
Assignee | ||
Comment 4•5 years ago
|
||
I think we don't specify whether that implies essl300 style \
-line-continuation of //
line-comments.
Rules-as-written, I don't think they should line-continue in WebGL 1. However, it's preferable to spec that they match essl300's behavior. (I really don't want more comment regexes)
Assignee | ||
Comment 5•5 years ago
|
||
Oh my bad, this isn't line-continuing in this case, but that might still be a problem.
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
[Tracking Requested - why for this release]:
Broken content due to regression.
Assignee | ||
Comment 8•5 years ago
|
||
Comment 9•5 years ago
|
||
Tracking for 74 as this is a new P1 regression.
Assignee | ||
Comment 10•5 years ago
|
||
Assignee | ||
Comment 11•5 years ago
|
||
Assignee | ||
Comment 12•5 years ago
|
||
Assignee | ||
Comment 13•5 years ago
|
||
There were a bunch of orphaned files, and this cleans them out.
Updated•5 years ago
|
Comment 14•5 years ago
|
||
Assignee | ||
Comment 15•5 years ago
|
||
With this fix, Firefox gets past the loading screen, and no longer has the error.
Comment 16•5 years ago
|
||
Comment 17•5 years ago
|
||
Backed out 2 changesets (bug 1617512) for causing mochitest failures on test_conformance__ogles__GL__build__build_049_to_056.html
Backout revision https://hg.mozilla.org/integration/autoland/rev/dca658411cd57be17476657c19925ee6ebddb5bf
Failure log https://treeherder.mozilla.org/logviewer.html#?job_id=290475492&repo=autoland
Jeff can you please take a look?
Assignee | ||
Comment 18•5 years ago
|
||
On MSVC, this fails on i = '\n'
, where it yields a match of "/* "
.
There are no mismatches when compile on my Linux clang env.
Assignee | ||
Comment 19•5 years ago
|
||
Assignee | ||
Comment 20•5 years ago
|
||
Upstreaming more CTS subtests too: https://github.com/KhronosGroup/WebGL/pull/3029
Updated•5 years ago
|
Comment 21•5 years ago
|
||
Jeff, we are out of beta now and we build RC on Monday. Is that bug important enough to require an uplift in our RC build or a driver for a RC2 next week? Thanks
Comment 22•5 years ago
|
||
Assignee | ||
Comment 23•5 years ago
|
||
Comment on attachment 9128952 [details]
Bug 1617512 - Fix WebGLSL comment parsing code.
Beta/Release Uplift Approval Request
- User impact if declined: Broken WebGL content (e.g. the link from this bug)
I think we should try to uplift because I'm worried about this regression breaking other content - Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Testcase (sfw): https://bug1617512.bmoattachments.org/attachment.cgi?id=9128672
Should show "PASS", not "FAIL". Output should match Chrome.
The NSFW STR is linked from this bug as well.
Before this patch, the game errors and makes an alert dialog box that mentions shader compilation failure.
After this patch, the game should load, like it Chrome.
- List of other uplifts needed: None
- Risk to taking this patch: Medium
- Why is the change risky/not risky? (and alternatives if risky): Medium risk: This touches some gross code, though I think it's a great simplification that's easier to understand.
I am worried about jumping straight into the RC, but I think we should trust our now-even-better tests and try for it. - String changes made/needed: none
Assignee | ||
Updated•5 years ago
|
Comment 24•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/30bbb50fff90
https://hg.mozilla.org/mozilla-central/rev/64793894a3a7
Comment 25•5 years ago
|
||
Reproduced the issue with Firefox Nightly 75.0a1 (2020-02-23) under Windows 10 using the SFW testcase.
The issue is fixed on Nightly 75.0a1 (2020-03-01). Tests were performed on Windows 10, Ubuntu 18.04 and macOS 10.15.
Comment 26•5 years ago
|
||
Comment on attachment 9128952 [details]
Bug 1617512 - Fix WebGLSL comment parsing code.
P1 regression in 74, has tests and was verified by QA in nightly, let's take it to the beta branch before RC, thanks.
Updated•5 years ago
|
Comment 27•5 years ago
|
||
Backed out for bustages on canvas/test/webgl-conf/generated-mochitest.ini.
Backout link: https://hg.mozilla.org/releases/mozilla-beta/rev/609993945f749197ee7cb2d45eed356053b187f4
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=291231203&repo=mozilla-beta&lineNumber=1403
Comment 28•5 years ago
|
||
bugherder uplift |
Re-pushed with the test in question un-removed from the second commit since it was still referenced in the manifest.
https://hg.mozilla.org/releases/mozilla-beta/rev/6011727e1d41
https://hg.mozilla.org/releases/mozilla-beta/rev/56347334409f
Updated•5 years ago
|
Assignee | ||
Comment 29•5 years ago
|
||
Oh, oops, I didn't mean to uplift the second patch. It's an unused test file clean up, so it's not bad to have (or not).
Comment 30•5 years ago
|
||
Reproduced the issue with Firefox Nightly 75.0a1 (2020-02-23) under Windows 10 using the SFW testcase.
The issue is fixed on 74.0(ID:20200302184608) . Tests were performed on Windows 10, Ubuntu 18.04 and macOS 10.15.
Comment 31•5 years ago
|
||
Backed out on request by pascalc for causing bug 1620876:
https://hg.mozilla.org/releases/mozilla-release/rev/c6e493873ba543907dadabb42b64208a3679d43d
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Description
•