On 12/09/06, H. Verbeet <[EMAIL PROTECTED]> wrote:
That does look wrong. The proper code should probably look like this:
shader_addline(&buffer, "ADD result.position.x, TMP_OUT.x, PROJECTIONX.w;\n");
shader_addline(&buffer, "MAD result.position.y, TMP_OUT.y,
PROJECTIONY.y, PROJECTIONY.w;\n");
That does look wrong. The proper code should probably look like this:
shader_addline(&buffer, "ADD result.position.x, TMP_OUT.x, PROJECTIONX.w;\n");
shader_addline(&buffer, "MAD result.position.y, TMP_OUT.y,
PROJECTIONY.y, PROJECTIONY.w;\n");
Hi All,
can someone help me understand some code from
dlls/wined3d/vertexshader.c please?
Im new to shader code, but to me the following looks a bit strange:
shader_addline(&buffer, "ADD result.position.x, TMP_OUT.x,
PROJECTIONX.w;\n");
shader_addline(&buffer, "ADD result.positio