nvc0/ir: add missing emission of locked load predicate
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 22 Feb 2016 20:11:33 +0000 (21:11 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 22 Feb 2016 20:28:51 +0000 (21:28 +0100)
commit84b9b8f0a395a26984980bb465b06ba08f55a1c6
tree2ecc46149765681ca03614cb2aa788589cd76358
parent9f0d059d4bab97e334fb3fecc24a1421b562d9e5
nvc0/ir: add missing emission of locked load predicate

Like unlocked store on shared memory, locked store can fail and the
second dest which is a predicate must be emitted.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp