i965/vec4: Emit BRW_AOP_INC or BRW_AOP_DEC for atomicAdd of +1 or -1
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 25 Aug 2018 00:24:36 +0000 (17:24 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 28 Aug 2018 22:35:50 +0000 (15:35 -0700)
commitc836326a290e867e736478b340fca725a978309f
tree785a88f65f99ceb945993ab06299dceedf21bb62
parentc856403868e6bd34a19131189333cefd67a374ce
i965/vec4: Emit BRW_AOP_INC or BRW_AOP_DEC for atomicAdd of +1 or -1

No shader-db changes on any Intel platform.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/compiler/brw_vec4_nir.cpp