https://bugs.freedesktop.org/show_bug.cgi?id=31986
Summary: matrix operation broken
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
AssignedTo: [email protected]
ReportedBy: [email protected]
Below shader failed on Calpella (i965) with mesa master:
Probe at (0,0)
Expected: 0.500000 0.500000 0.500000 0.500000
Observed: 0.501961 0.501961 0.000000 1.000000
PIGLIT: {'result': 'fail' }
[require]
GL >= 2.0
GLSL >= 1.10
[fragment shader]
void main(void)
{
mat2 m = mat2(0.5, 0.5, 0.5, 0.5);
m[0][0] = m[0][0] + 0.3;
m[0][0] = m[0][0] - 0.3;
gl_FragColor = vec4(m[0][0], m[0][1], m[1][0], m[1][1]);
}
[test]
draw rect -1 -1 2 2
probe all rgba 0.5 0.5 0.5 0.5
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev