diff options
author | Christoph Bumiller <[email protected]> | 2011-02-16 11:57:00 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-02-16 15:45:31 +0100 |
commit | 3f1361e060822c369f3b375bc695c9e65db59c29 (patch) | |
tree | 5e05c942f4007bdb16a6c2beb3006ece63c4af6d /src/gallium/drivers/nvc0 | |
parent | bb2c8e709975223e8131b7c627c08eeb4f3ec88d (diff) |
nvc0: fix emit_dfdx,dfdy
Diffstat (limited to 'src/gallium/drivers/nvc0')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_pc_emit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_pc_emit.c b/src/gallium/drivers/nvc0/nvc0_pc_emit.c index b2a80566a02..c10f920e6f1 100644 --- a/src/gallium/drivers/nvc0/nvc0_pc_emit.c +++ b/src/gallium/drivers/nvc0/nvc0_pc_emit.c @@ -479,6 +479,7 @@ emit_ddx(struct nv_pc *pc, struct nv_instruction *i) { i->quadop = 0x99; i->lanes = 4; + i->src[1] = i->src[0]; emit_quadop(pc, i); } @@ -487,6 +488,7 @@ emit_ddy(struct nv_pc *pc, struct nv_instruction *i) { i->quadop = 0xa5; i->lanes = 5; + i->src[1] = i->src[0]; emit_quadop(pc, i); } |