diff options
author | Ilia Mirkin <[email protected]> | 2015-12-28 15:59:03 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-01-20 19:37:34 -0500 |
commit | 2e533ab74be1f997ddfaaf01798e7e3018138ac2 (patch) | |
tree | 0954935cdd64c465e06740bb752d9803722c9b79 /src/gallium/drivers/nouveau | |
parent | 8c2dfe05c5db9946d2d30546920e98bcfb8e3eb9 (diff) |
gk110/ir: fix double-wide vm address
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 4 |
1 files changed, 4 insertions, 0 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 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 |