projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dfcf91
)
nv40: fix fp depth write
author
Ben Skeggs
<skeggsb@gmail.com>
Sun, 23 Mar 2008 07:20:04 +0000
(18:20 +1100)
committer
Ben Skeggs
<skeggsb@gmail.com>
Sun, 23 Mar 2008 07:20:04 +0000
(18:20 +1100)
src/gallium/drivers/nv40/nv40_fragprog.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv40/nv40_fragprog.c
b/src/gallium/drivers/nv40/nv40_fragprog.c
index 6d8a29ed9c0aa95ebe580506d5f62d1f61a70717..87bca41cf64a9a4d7abaa73a75d6ded7bd7952ea 100644
(file)
--- a/
src/gallium/drivers/nv40/nv40_fragprog.c
+++ b/
src/gallium/drivers/nv40/nv40_fragprog.c
@@
-724,7
+724,7
@@
nv40_fragprog_parse_decl_output(struct nv40_fpc *fpc,
hw = 1;
break;
case TGSI_SEMANTIC_COLOR:
- switch (
id
x) {
+ switch (
fdec->Semantic.SemanticInde
x) {
case 0: hw = 0; break;
case 1: hw = 2; break;
case 2: hw = 3; break;