Commit 4bf98096 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Only declare TMP_OUT in vertex shaders.

parent acc4021e
......@@ -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])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment