diff options
author | Michal Krol <[email protected]> | 2009-09-25 10:57:33 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-09-25 18:52:13 +0200 |
commit | 69c7fc128c59bf72df461dbd583bf9794d9ed34d (patch) | |
tree | f3220e1422b7bad9ade75bd38018d6f50a3cda00 | |
parent | a0fbc01ceaef08b33f97936d8840a6f48ec1654d (diff) |
softpipe: Grab fs output z from the correct file.
-rw-r--r-- | src/gallium/drivers/softpipe/sp_fs_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_fs_exec.c b/src/gallium/drivers/softpipe/sp_fs_exec.c index c469ac63407..4076114d392 100644 --- a/src/gallium/drivers/softpipe/sp_fs_exec.c +++ b/src/gallium/drivers/softpipe/sp_fs_exec.c @@ -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; |