http://bugs.freedesktop.org/show_bug.cgi?id=23657
--- Comment #8 from Brian Paul <[email protected]> 2009-09-03 11:33:17 PST --- Everything looks OK here. Running glean with swrast, the disassembled fragment shader for "ADD with saturation" is: (gdb) call _mesa_print_program(program) # Fragment Program/Shader 0: ADD TEMP[0], STATE[0], STATE[0]; 1: ADD_SAT OUTPUT[1], TEMP[0], STATE[0]; 2: END (gdb) p program->Instructions[0] $4 = {Opcode = OPCODE_ADD, SrcReg = {{File = 6, Index = 0, Swizzle = 1672, RelAddr = 0, Abs = 0, Negate = 0}, {File = 6, Index = 0, Swizzle = 1672, RelAddr = 0, Abs = 0, Negate = 0}, {File = 13, Index = 0, Swizzle = 1672, RelAddr = 0, Abs = 0, Negate = 0}}, DstReg = {File = 0, Index = 0, WriteMask = 15, RelAddr = 0, CondMask = 8, CondSwizzle = 1672, CondSrc = 0, pad = 0}, CondUpdate = 0, CondDst = 0, SaturateMode = 0, Precision = 1, TexSrcUnit = 0, TexSrcTarget = 0, TexShadow = 0, BranchTarget = 0, Comment = 0x0, Data = 0x0, Aux = 0} (gdb) p program->Instructions[1] $5 = {Opcode = OPCODE_ADD, SrcReg = {{File = 0, Index = 0, Swizzle = 1672, RelAddr = 0, Abs = 0, Negate = 0}, {File = 6, Index = 0, Swizzle = 1672, RelAddr = 0, Abs = 0, Negate = 0}, {File = 13, Index = 0, Swizzle = 1672, RelAddr = 0, Abs = 0, Negate = 0}}, DstReg = {File = 2, Index = 1, WriteMask = 15, RelAddr = 0, CondMask = 8, CondSwizzle = 1672, CondSrc = 0, pad = 0}, CondUpdate = 0, CondDst = 0, SaturateMode = 1, Precision = 1, TexSrcUnit = 0, TexSrcTarget = 0, TexShadow = 0, BranchTarget = 0, Comment = 0x0, Data = 0x0, Aux = 0} Note that SaturateMode is correctly set to 1 in the second instruction. I don't know how the r600 driver would be seeing anything different. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
