projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0fbc01
)
softpipe: Grab fs output z from the correct file.
author
Michal Krol
<michal@vmware.com>
Fri, 25 Sep 2009 08:57:33 +0000
(10:57 +0200)
committer
Michal Krol
<michal@vmware.com>
Fri, 25 Sep 2009 16:52:13 +0000
(18:52 +0200)
src/gallium/drivers/softpipe/sp_fs_exec.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_fs_exec.c
b/src/gallium/drivers/softpipe/sp_fs_exec.c
index c469ac63407afd3c4673f6e6360b05e6aae3e5ae..4076114d392a894165e5e6c3419eb63fc4d6a0e5 100644
(file)
--- 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;