diff options
author | Ben Skeggs <[email protected]> | 2008-06-23 00:14:21 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-06-23 00:14:21 +1000 |
commit | 5a01060eb95cb2cb168cb7224ecc805020584c91 (patch) | |
tree | 8c1f4fee11b2eae2df8a32108bfee6a32910faa7 /src/gallium/drivers/nv30/nv30_fragprog.c | |
parent | aa3ab377e6e2e5811cdd704d87c3e24acb5eff72 (diff) |
nouveau: update for interface changes + hack around gallium x86_64 bustage
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_fragprog.c')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_fragprog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv30/nv30_fragprog.c b/src/gallium/drivers/nv30/nv30_fragprog.c index 51000bd6fcd..54d6bea55f7 100644 --- a/src/gallium/drivers/nv30/nv30_fragprog.c +++ b/src/gallium/drivers/nv30/nv30_fragprog.c @@ -645,7 +645,7 @@ nv30_fragprog_parse_decl_attrib(struct nv30_fpc *fpc, return FALSE; } - fpc->attrib_map[fdec->u.DeclarationRange.First] = hw; + fpc->attrib_map[fdec->DeclarationRange.First] = hw; return TRUE; } @@ -655,10 +655,10 @@ nv30_fragprog_parse_decl_output(struct nv30_fpc *fpc, { switch (fdec->Semantic.SemanticName) { case TGSI_SEMANTIC_POSITION: - fpc->depth_id = fdec->u.DeclarationRange.First; + fpc->depth_id = fdec->DeclarationRange.First; break; case TGSI_SEMANTIC_COLOR: - fpc->colour_id = fdec->u.DeclarationRange.First; + fpc->colour_id = fdec->DeclarationRange.First; break; default: NOUVEAU_ERR("bad output semantic\n"); |