nvc0/ir: fix atomic compare-and-swap arguments
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 11 Jan 2016 02:47:04 +0000 (21:47 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 30 Jan 2016 02:22:48 +0000 (21:22 -0500)
commitdf043f076464d817a9d88c4c43757e65b6eae3f9
tree3ca9ecc0bff1fcfbc30976d9d692eb39cf9ea4c6
parent7b9a77b905bda3003dc57efb99879499ebc4ba41
nvc0/ir: fix atomic compare-and-swap arguments

Teach the emitter that the two registers are sequential, and drop the
second arg entirely, in favor of a double-wide first argument.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp