Closed Bug 1083168 Opened 11 years ago Closed 11 years ago

Regression causes shaders with uniforms of unnamed struct type to fail to compile and link

Categories

(Core :: Graphics: CanvasWebGL, defect)

33 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: matt.amato, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 Build ID: 20141011015303 Steps to reproduce: Visit https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/misc/shaders-with-uniform-structs.html Actual results: The test "Shaders with uniforms of unnamed struct type should compile and link successfully." fails. Expected results: The test should pass. This did not happen in Firefox 32. This is almost certainly ANGLE related and may be specific to the D3D9 back-end. Chrome had a similar issue a while ago that has already been fixed. See their issue for more details: https://code.google.com/p/chromium/issues/detail?id=401296 The original Chrome issue, and this new issue were both found via Cesium's unit tests; that test can be ran here: "http://cesiumjs.org/Cesium/Specs/SpecRunner.html?spec=Renderer%2FShaderProgram%20has%20a%20struct%20uniform." I only include it for completeness as the WebGL conformance test supersedes it.
It's already fixed, I guess, test is green with FF36: PASS Shaders with uniforms of unnamed struct type should compile and link successfully.
(In reply to Loic from comment #1) > It's already fixed, I guess, test is green with FF36: > PASS Shaders with uniforms of unnamed struct type should compile and link > successfully. I just confirmed that this works in Aurora, 35.0a2 (2014-10-15) as well.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.