softpipe: Grab fs output z from the correct file.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user