i965/fs: Return result of image atomic in a register of the expected type.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 16 Aug 2015 22:52:19 +0000 (01:52 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 23 Feb 2016 03:57:09 +0000 (19:57 -0800)
commit058ed980c6564428c257b4e0c09a41cff9cfe8c3
tree2153d5f4576b463857c61415415ba8b6509e29ff
parent81c16a2dabf9903ca85b8a27002a354e223fa7cc
i965/fs: Return result of image atomic in a register of the expected type.

So the result is of float type if we're implementing the float
overload of imageAtomicExchange.  This is the only back-end change
required to support OES_shader_image_atomic AFAICT.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/drivers/dri/i965/brw_fs_surface_builder.cpp