nv50/ir: do not try to attach JOIN ops to ATOM
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 7 Apr 2016 20:38:47 +0000 (22:38 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 7 Apr 2016 21:10:26 +0000 (23:10 +0200)
commit059308db841886101586aa3ec5ac74b89abf1a20
treea8275d3617531e59d7e5450bd64fc0945e98c762
parent2abe4f8d7dcdcff75c28958e1a691ebf6cdee1ac
nv50/ir: do not try to attach JOIN ops to ATOM

This might result in an INVALID_OPCODE dmesg error in case a join is
attached to an atomic operation.

Spotted with arb_shader_image_load_store-host-mem-barrier on GK104.

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