gm107/ir: add ATOM CAS emission
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 Feb 2016 17:53:11 +0000 (18:53 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 Feb 2016 19:53:39 +0000 (20:53 +0100)
commitf63851289077714509e30b70cd922848cbe06499
tree2050fa365fa1bc0ded86210b4a6f2d3cf6100972
parent09446cf5f605d23102321d386a99a8c7d329e1e5
gm107/ir: add ATOM CAS emission

This fixes the following dEQP test and the other compswap variants.

dEQP-GLES31.functional.ssbo.atomic.compswap.highp_int

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp