i965: Refactor emission of atomic counter operations
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 30 Jun 2016 16:14:37 +0000 (09:14 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 4 Oct 2016 23:53:32 +0000 (16:53 -0700)
commit3d2011cb33317b0fe9b8fe989916efc1841c6ce0
treeb0aa6ac918e946ce8e08aea6e33dffc8d4d72904
parent7cd0b3084cb5e1ee69431d462eedc2e3e7eb8203
i965: Refactor emission of atomic counter operations

This will make it easier to add more operations.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_shader.h
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp