Closed
Bug 976936
Opened 11 years ago
Closed 8 years ago
SnappyTree demo stops working since Firefox26
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(firefox-esr24 unaffected)
RESOLVED
INVALID
Tracking | Status | |
---|---|---|
firefox-esr24 | --- | unaffected |
People
(Reporter: alice0775, Unassigned)
References
()
Details
(Whiteboard: [contactready] [mdn] )
The demo stops working since Firefox26
STR
https://developer.mozilla.org/en-US/demos/detail/snappytree/launch
Actual Results:
No Tree
Reporter | ||
Comment 1•11 years ago
|
||
Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/2be3551a5d80
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 ID:20130906171346
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/356866ae2f68
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 ID:20130906172546
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=2be3551a5d80&tochange=356866ae2f68
Regressed by:
356866ae2f68 Jeff Gilbert — Bug 883478 - Update ANGLE to pull from 13-08-02. r=upstream,bjacob,bas
Blocks: 883478
status-firefox27:
--- → affected
status-firefox28:
--- → affected
status-firefox29:
--- → affected
status-firefox30:
--- → affected
status-firefox-esr24:
--- → unaffected
Component: General → Canvas: WebGL
Keywords: regression
Product: Firefox → Core
Comment 2•11 years ago
|
||
From the console:
Error: WebGL: linkProgram failed, with this log:
Precisions for uniform projection do not match between the vertex and fragment shader
"GLGE error: Couldn't link shader: Precisions for uniform projection do not match between the vertex and fragment shader
"
Error: WebGL: linkProgram failed, with this log:
Precisions for uniform projection do not match between the vertex and fragment shader
"GLGE error: Couldn't link shader: Precisions for uniform projection do not match between the vertex and fragment shader
"
Error: WebGL: useProgram: program was not linked successfully
Comment 3•11 years ago
|
||
This makes this very likely to be an issue with the demo, where the demo is no longer considered spec-compliant WebGL, and thus us not rendering it as intended is the correct behavior.
This should be more fully inspected before we close it, but I strongly suspect this is the issue.
Whiteboard: webgl-site
Reporter | ||
Comment 5•10 years ago
|
||
IE11 works as expected !
status-firefox31:
--- → affected
status-firefox32:
--- → affected
status-firefox33:
--- → affected
Whiteboard: webgl-site → webgl-site, [parity-IE]
Comment 6•10 years ago
|
||
This is a problem with the site, not our implementation. We can reach out to them to try to get them to fix it, but it violates this section of the GLES SL spec:
When the vertex and fragment shaders are linked together, then they will share a single global uniform
name space. Hence, types and precisions of uniforms with the same name must match across all shaders
that are linked into a single executable.
An error regarding mismatched precisions for a uniform is generated in newer versions of both Firefox and Chrome. I checked the shader sources manually:
gl = document.getElementByTagName('canvas')[0];
vs = gl.programCache[2].vShader; // This is attached to `gl` by the app.
fs = gl.programCache[2].fShader;
Using gl.getShaderSource() on `vs` and `fs` shows that `fs` uses `precision mediump float`, while `vs` doesn't, and since the decls for the shared uniforms (like `projection`) are not set to the same precision manually, they inherit the default precision for `float`. Default precision for `float` in vertex shaders is `highp`, and the default for the fragment shader here was set to mediump. Thus, the precision for (at least) `projection` doesn't match when the app tries to link the vertex and fragment shaders.
Failing to link such a shader is required by the spec. IE is out-of-spec in this regard.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Comment 7•10 years ago
|
||
Morphing this to an evangelism bug.
Status: RESOLVED → REOPENED
Component: Canvas: WebGL → Desktop
Keywords: regression
Product: Core → Tech Evangelism
Resolution: WONTFIX → ---
Whiteboard: webgl-site, [parity-IE] → webgl-site
Version: 26 Branch → unspecified
Updated•10 years ago
|
status-firefox27:
affected → ---
status-firefox28:
affected → ---
status-firefox29:
affected → ---
status-firefox30:
affected → ---
status-firefox31:
affected → ---
status-firefox32:
affected → ---
status-firefox33:
affected → ---
Updated•10 years ago
|
Whiteboard: webgl-site
Updated•10 years ago
|
Status: REOPENED → NEW
Comment 8•10 years ago
|
||
Well, I'm sure we can find someone to reach out to..
Is there a Bugzilla project for dev.mo ? Just moving the bug there might work too.
Comment 9•10 years ago
|
||
I don't have any issues with the demo in Aurora (nor errors in the console) on OSX. Perhaps this was already updated?
Comment 10•10 years ago
|
||
Seems broken here. Same errors in console, even in nightly.
We can try complaining here: https://github.com/supereggbert/SnappyTree/ but it doesn't seem to be maintained.
Whiteboard: [contactready] [mdn]
Updated•10 years ago
|
Summary: The demo stops working since Firefox26 → SnappyTree demo stops working since Firefox26
Comment 11•8 years ago
|
||
I don't see that demo on MDN anymore. Let's close.
Status: NEW → RESOLVED
Closed: 10 years ago → 8 years ago
Resolution: --- → INVALID
Assignee | ||
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
You need to log in
before you can comment on or make changes to this bug.
Description
•