http://bugs.freedesktop.org/show_bug.cgi?id=26317

           Summary: glsl compiled wrong
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: amaasi...@gmail.com


vdrift data/shaders/full/vertex.glsl seems to compile wrong,
I'll attach the shader and output.

from this line:
refmapdir = vec3(gl_TextureMatrix[2] * vec4(reflect(viewdir, normal_eye),0));
reflect(viewdir, normal_eye) sequence starts with:

 20: DP3 TEMP[0].w, TEMP[1], TEMP[1];

Seems it's using same register for I and N.

also in the end we output 2 attribs from same temp:
 35: MOV OUTPUT[17], TEMP[3];
 36: MOV OUTPUT[18], TEMP[3];

Andre


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to