diff options
author | Ilia Mirkin <[email protected]> | 2016-06-11 11:50:15 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-06-11 11:50:42 -0400 |
commit | f47845596bce36aeb84a8a7f6c7e643486ec2185 (patch) | |
tree | f16bad170a3c0df7ee570cb5f358978bc91d85dc /src/gallium/drivers/nouveau/codegen | |
parent | 7d7e015381b25ec639633b63d01d851bc32edf23 (diff) |
nv50: enable indirect addressing of fragment shader inputs
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nv50.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nv50.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nv50.cpp index 5d68e990207..0fe399bdd8e 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nv50.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nv50.cpp @@ -911,6 +911,7 @@ CodeEmitterNV50::emitINTERP(const Instruction *i) defId(i->def(0), 2); srcAddr8(i->src(0), 16); + setAReg16(i, 0); if (i->encSize != 8 && i->getInterpMode() == NV50_IR_INTERP_FLAT) { code[0] |= 1 << 8; |