Created attachment 105161 [details]
Trying some examples with THREE.js library in Firefox and Chrome/Chromium, Linux based system with intel graphic cards shows inverted bumpmap.
You can see the example here:
It seeme that the problem appears long time ago (2013 for this issue).
I'm not sure about my driver version. I send you glxinfo output from my Fedora 20 installed on lenovo b590 laptop.
The example game is here:
We've come a long way since Mesa 10.1.5. Can you try with one of the 10.2 stable releases? 10.2.6 is the most recent.
Same with 10.2 version. Installed from kwizart testing repository.
The bump-map on chrome and firefox webgl examples (as my own projects) are inverted.
OpenGL version string: 3.0 Mesa 10.2.5
Created attachment 105383 [details]
glxinfo on mesa 10.2.5 version
This is the glxinfo64 output with mesa 10.2.5 version
Just now checked with mesa master branch and it is still reproducible.
I will take a look to this.
Created attachment 108887 [details]
Sample simple application using three.js
To use this app you will need a local http server due to security restrictions for JS to access local files.
In a GNU/Linux box, something like this should work:
$ tar xzpf fd82991-test.tar.gz
$ cd fd82991-test
$ python3 -m http.server &
$ xdg-open http://localhost:8000/fd82991-test.html &
Created attachment 108888 [details]
Screenshot of the attached application rendered with swrast on GNU/Linux
The same result can be obtained using the nouveau driver or the NVidia propritary one for GNU/Linux
Created attachment 108889 [details]
Screenshot of the attached application rendered with i965 on GNU/Linux
This screenshot shows how the bumpmap is inverted when using the i965 driver
Created attachment 108890 [details]
Trace execution file from the sample application using apitrace
This trace was created running the attached sample application with the apitrace in WebKitGTK+'s MiniBrowser. Something like:
$ LD_PRELOAD=<path_to>/apitrace/wrappers/glxtrace.so <path_to>/MiniBrowser http://localhost:8000/fd82991-test.html &
Proposed piglit patch which exposes this bug sent at:
Proposed patch for fixing this bug sent at:
*** Bug 87391 has been marked as a duplicate of this bug. ***
This has been resolved, so closing.
There is a follow up at bug 87407.