i965/fs: Revisit NIR atomic counter intrinsic translation.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 5 May 2015 17:52:58 +0000 (20:52 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 11:12:49 +0000 (14:12 +0300)
commit854c4d8b37416d3e5593099a8e5441f3cf861173
treec4e2ded88e87af2436a64b5265bbacf239910767
parent1aab58f39450213ea2ac43549eefb8acd1e6584a
i965/fs: Revisit NIR atomic counter intrinsic translation.

Rewrite the NIR atomic counter intrinsics translation code making use
of the recently introduced surface builder.  This will allow the
removal of some of the functionality duplicated between the visitor
and surface builder.

v2: Drop VEC4 suport.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp