softpipe: Grab fs output z from the correct file.

This commit is contained in:
Michal Krol 2009-09-25 10:57:33 +02:00
parent a0fbc01cea
commit 69c7fc128c

View file

@ -151,7 +151,7 @@ exec_run( const struct sp_fragment_shader *base,
{
uint j;
for (j = 0; j < 4; j++) {
quad->output.depth[j] = machine->Outputs[0].xyzw[2].f[j];
quad->output.depth[j] = machine->Outputs[i].xyzw[2].f[j];
}
}
break;