From: Ilia Mirkin Date: Mon, 28 Dec 2015 20:59:03 +0000 (-0500) Subject: gk110/ir: fix double-wide vm address X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e533ab74be1f997ddfaaf01798e7e3018138ac2;p=mesa.git gk110/ir: fix double-wide vm address --- 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 59041dfacab..adb61d55501 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp @@ -1613,6 +1613,10 @@ CodeEmitterGK110::emitSTORE(const Instruction *i) srcId(i->src(1), 2); srcId(i->src(0).getIndirect(0), 10); + if (i->src(0).getFile() == FILE_MEMORY_GLOBAL && + i->src(0).isIndirect(0) && + i->getIndirect(0, 0)->reg.size == 8) + code[1] |= 1 << 23; } void