wined3d: Only declare TMP_OUT in vertex shaders.

This commit is contained in:
Stefan Dösinger 2009-05-04 14:30:45 +02:00 committed by Alexandre Julliard
parent acc4021e74
commit 4bf980962a
1 changed files with 2 additions and 2 deletions

View File

@ -332,9 +332,9 @@ static void shader_generate_arb_declarations(IWineD3DBaseShader *iface, const sh
} else {
max_constantsF = GL_LIMITS(vshader_constantsF) - 1;
}
/* Temporary Output register */
shader_addline(buffer, "TEMP TMP_OUT;\n");
}
/* Temporary Output register */
shader_addline(buffer, "TEMP TMP_OUT;\n");
for(i = 0; i < This->baseShader.limits.temporary; i++) {
if (reg_maps->temporary[i])