[Bug 6153] Wine 0.9.20 breaks Everquest 2

Wine Bugs wine-bugs at winehq.org
Mon Sep 11 16:28:48 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=6153





------- Additional Comments From wine at kapila.force9.co.uk  2006-11-09 16:28 -------
OK - please bear with me while I try to track this down (Never played with the
shaders before.)

The line which appear to cause the program to "break" is shown below. Commenting
this line, means everything works (as well as it did before the patch)

         * OpenGL coordinates specify the center of the pixel while d3d coords
specify
         * the corner. For that reason a translation is done with the projection
matrix,
         * which sets the offsets to move in the w coords of the matrix(see
glTranslate manpage)
         * Add the w coordinates to x and y, this avoids the need for a full matrix
         * multiplication. The matrix is set up in drawprim.c, primitiveInitState.
         */
        shader_addline(&buffer, "ADD result.position.x, TMP_OUT.x,
PROJECTIONX.w;\n"); // <----THIS LIKE CAUSES THE ISSUE!!
        shader_addline(&buffer, "ADD result.position.y, TMP_OUT.y,
PROJECTIONY.w;\n");


 Sorry about the multiple posts - just trying to give as much info as possible.

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



More information about the wine-bugs mailing list