Closed Bug 795863 Opened 12 years ago Closed 10 years ago

WebGL conformance test fail regarding uniform array of struct

Categories

(Core :: Graphics: CanvasWebGL, defect)

10 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: grizzly33.levlist, Unassigned)

References

Details

(Keywords: regression, Whiteboard: webgl-conformance)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4 Steps to reproduce: I ran this conformance test: https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/misc/shader-with-array-of-structs-uniform.html Actual results: It gave a few fail lines: FAIL uniforms[0] should be u_colors[0].color1. Was u_colors[0].color1[0]. FAIL uniforms[1] should be u_colors[0].color2. Was u_colors[0].color2[0]. FAIL uniforms[2] should be u_colors[1].color1. Was u_colors[1].color1[0]. FAIL uniforms[3] should be u_colors[1].color2. Was u_colors[1].color2[0]. Expected results: It should have passed.
Component: Untriaged → Canvas: WebGL
Product: Firefox → Core
Version: 12 Branch → 15 Branch
This passes for me in Firefox 15 and current tip, on Mac. Reporter, could you please copy and paste the "Graphics" part from about:support into this bug?
Sure, Adapter Description NVIDIA GeForce GTX 560 Ti Vendor ID 0x10de Device ID 0x1200 Adapter RAM 1023 Adapter Drivers nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um Driver Version 9.18.13.623 Driver Date 8-30-2012 Adapter Description (GPU #2)Intel(R) HD Graphics 3000Vendor ID (GPU #2)0x8086 Device ID (GPU #2)0x0112Adapter RAM (GPU #2)Unknown Adapter Drivers (GPU #2)igdumd64 igd10umd64 igd10umd64 igdumd32 igd10umd32 igd10umd32 Driver Version (GPU #2)8.15.10.2696 Driver Date (GPU #2)3-19-2012 Direct2D Enabled true DirectWrite Enabled true (6.1.7601.17789) ClearType Parameters DISPLAY1 [ Gamma: 2200 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50 ] DISPLAY2 [ Gamma: 2200 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50 ] WebGL Renderer Google Inc. -- ANGLE (NVIDIA GeForce GTX 560 Ti ) -- OpenGL ES 2.0 (ANGLE 1.0.0.1041) GPU Accelerated Windows1/1 Direct3D 10 AzureBackend direct2d
hmm weird. Pass on linux 64 (arch) but I have an issue with windows 7 => FAIL Should be red at (0, 0) expected: 255,0,0,255 was 0,255,0,255 FAIL Should be red at (0, 0) expected: 255,0,0,255 was 0,0,0,255 PASS numUniforms is 4 FAIL uniforms[0] should be u_colors[0].color1. Was u_colors[0].color1[0]. FAIL uniforms[1] should be u_colors[0].color2. Was u_colors[0].color2[0]. FAIL uniforms[2] should be u_colors[1].color1. Was u_colors[1].color1[0]. FAIL uniforms[3] should be u_colors[1].color2. Was u_colors[1].color2[0]. Some piece of information: Intel(R) 4 Series Express Chipset Family ID 0x8086 ID peri 0x2a42 RAM Unknown Driver igdumd64 igd10umd64 igdumdx32 igd10umd32 version 8.15.10.2555 WebGL renderer Rendu WebGLGoogle Inc. -- ANGLE (Mobile Intel(R) 4 Series Express Chipset Family) -- OpenGL ES 2.0 (ANGLE 1.0.0.1242)
I think the problem is ANGLE
I think too. I have originally discovered this with the latest Chrome where one of my demos didn't work. It worked (and still does) in Firefox, but this conformance test fails on both. The chrome bug was already submitted and it's here: http://code.google.com/p/chromium/issues/detail?id=146234
Regression window(m-c) Good: http://hg.mozilla.org/mozilla-central/rev/f25928e4847d Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0a1) Gecko/20111001 Firefox/10.0a1 ID:20111001030845 Bad; http://hg.mozilla.org/mozilla-central/rev/164fd1bbd06f Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0a1) Gecko/20111001 Firefox/10.0a1 ID:20111001021132 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=f25928e4847d&tochange=164fd1bbd06f Regression window(m-i) Good: http://hg.mozilla.org/integration/mozilla-inbound/rev/24fc6ed19796 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0a1) Gecko/20110930 Firefox/10.0a1 ID:20110930205833 Bad; http://hg.mozilla.org/integration/mozilla-inbound/rev/95b7fab4037c Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0a1) Gecko/20110930 Firefox/10.0a1 ID:20110930213233 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=24fc6ed19796&tochange=95b7fab4037c Suspected: bf32d490e3bb Benoit Jacob — Bug 690735 - upgrade ANGLE to r774 - no review, just syncing with upstream This doesn't involve any Makefile change so should be relatively safe. This is needed for: * BUILTIN_FUNCTION_EMULATION (r773,774), blocker for 665578 * extensions validation in shaders (r745), blocker for 684853 * major performance improvements and bug fixes
I see the regression on Win 7 too, 2011-10-01 is good, 2011-10-02 is bad.
Blocks: 690735
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Version: 15 Branch → 10 Branch
Thanks for bisecting this, we're going to look systematically into 1.0.2 conformance failures soon, and you just did a difficult one!
Whiteboard: webgl-conformance
Passes for me on Firefox 36.0.1 on Windows 7.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.