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

           Summary: A Bug of Shader Compiler
           Product: Mesa
           Version: 7.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Now the version i used is 7.1-rc4. When i compile the following shader, assert
failed (slang_emit.c line 299 "assert(GET_SWZ(swizzle, 0) <= SWIZZLE_W)")


void order_ps_input() { /* do nothing */ }
uniform vec4 VC[491];
uniform ivec4 VI[16];
uniform bool VB[16];
uniform vec4 posFixup;
attribute vec4 attrib0;
vec4 tmp0;
vec4 tmp1;
void main() {
gl_Position.x = (dot(attrib0.xyzw, VC[0].xyzw));
gl_Position.y = (dot(attrib0.xyzw, VC[1].xyzw));
gl_Position.z = (dot(attrib0.xyzw, VC[2].xyzw));
gl_Position.w = (dot(attrib0.xyzw, VC[3].xyzw));
order_ps_input();
gl_FogFragCoord = gl_Position.z;
gl_Position.y = gl_Position.y * posFixup.y;
gl_Position.xy += posFixup.zw * gl_Position.ww;
gl_Position.z = gl_Position.z * 2.0 - gl_Position.w;
}


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to