diff options
author | Ben Skeggs <[email protected]> | 2008-03-23 18:20:04 +1100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-03-23 18:20:04 +1100 |
commit | e1ad8c232ba31985a6f9e5b76279f2f131312d1d (patch) | |
tree | 5583502ecd2a4566a2923ca7d2e9dca884ac0fba /src/gallium | |
parent | 4dfcf912964f7c14c877abde04255a3896fb903d (diff) |
nv40: fix fp depth write
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_fragprog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_fragprog.c b/src/gallium/drivers/nv40/nv40_fragprog.c index 6d8a29ed9c0..87bca41cf64 100644 --- 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 (idx) { + switch (fdec->Semantic.SemanticIndex) { case 0: hw = 0; break; case 1: hw = 2; break; case 2: hw = 3; break; |