upgrade to 13.4: wrong/strange behavior opengl es vertex shader
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mesa (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Graphics: Intel® 965GM
I suspect (I am not a mesa etc. specialist) sth wrong in the mesa lib, because opengl ES isn't working correctly any more.
I had a WebGL app running nicely in FireFox and Chromium (Ubuntu 12.10).
I upgraded from 12.10(64bits) to 13.4 (64bits).
Now it does not work correctly any more in FireFox as well as Chromium.
No errors, but serious wrong behavior.
It still works correctly on other machines (ubuntu 12.04/FireFox, macBook/FireFox, windows/Chromium).
The bug turns up in the following lines of the vertex shader (coming from javascript/WebGL)
-----------
uniform mediump vec3 criticalHeights;
attribute mediump vec3 vertex;
...
if(criticalHeig
{varAmbient
}
-----------
criticalHeights[2] and vertex.z vary between -100 and + a few hundred.
the 'if' statement always returns true, even with extreme values like -1000000.0 < vertex.z or criticalHeights[2] > 1000000.0
Please find attached output of glxinfo.
Thanks.
summary: |
- upgrade to 13.6: wrong/strange behavior opengel es vertex shader + upgrade to 13.4: wrong/strange behavior opengel es vertex shader |
summary: |
- upgrade to 13.4: wrong/strange behavior opengel es vertex shader + upgrade to 13.4: wrong/strange behavior opengl es vertex shader |
Just tested an existing desktop Qt opengl ES application, with same kind of code (if ...).
Also same wrong behaviour.