diff options
author | Ilia Mirkin <[email protected]> | 2014-06-06 20:33:06 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-06-06 20:33:06 -0400 |
commit | d588a4919b732246b7aa26685ef65545929a4f7b (patch) | |
tree | f41470a4de54466c14bf1ade0c596f4ce645979b /src/gallium | |
parent | ed1b9e5721f6c7a74e042eadb31fc5dcb2fc3552 (diff) |
gk110/ir: fix interp mode emission
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: "10.2" <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp index 9a8c4b913e0..e1b5a74fb39 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp @@ -1326,7 +1326,8 @@ CodeEmitterGK110::emitOUT(const Instruction *i) void CodeEmitterGK110::emitInterpMode(const Instruction *i) { - code[1] |= i->ipa << 21; // TODO: INTERP_SAMPLEID + code[1] |= (i->ipa & 0x3) << 21; // TODO: INTERP_SAMPLEID + code[1] |= (i->ipa & 0xc) << (19 - 2); } void |