upgrade to 13.4: wrong/strange behavior opengl es vertex shader

Bug #1176818 reported by wim de vries
8
This bug affects 1 person
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(criticalHeights[2] > vertex.z )
    {varAmbientLight = redAmbientLight; varDiffuseLight = redDiffuseLight;};
     }
-----------
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.

Revision history for this message
wim de vries (wsvries) wrote :
Revision history for this message
wim de vries (wsvries) wrote :

Just tested an existing desktop Qt opengl ES application, with same kind of code (if ...).
Also same wrong behaviour.

wim de vries (wsvries)
summary: - upgrade to 13.6: wrong/strange behavior opengel es vertex shader
+ upgrade to 13.4: wrong/strange behavior opengel es vertex shader
wim de vries (wsvries)
summary: - upgrade to 13.4: wrong/strange behavior opengel es vertex shader
+ upgrade to 13.4: wrong/strange behavior opengl es vertex shader
Revision history for this message
Oibaf (oibaf) wrote :

The used Ubuntu version is no longer supported, can you check if the problem is still reproducible on a newer Ubuntu?

Changed in mesa (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mesa (Ubuntu) because there has been no activity for 60 days.]

Changed in mesa (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.