i965: allow image_size on float images
authorMartin Peres <martin.peres@linux.intel.com>
Fri, 21 Aug 2015 13:25:14 +0000 (16:25 +0300)
committerMartin Peres <martin.peres@linux.intel.com>
Fri, 21 Aug 2015 14:48:14 +0000 (17:48 +0300)
commitf142e64b2938ab3ebc42fd40436a1de74e3ed2e2
tree4284eebec82090b1d6de6deed950057f008da2cb
parentdf5cdec1329507d5ac52a6d3db49c2608b9226bc
i965: allow image_size on float images

This got missed because the piglit test only tested int images to avoid a
combinatiorial explosion of format, targets, stages and sizes which
takes more than 5 minutes to test on nvidia's driver.

This patch also drops the IMAGE_FUNCTION_AVAIL_ATOMIC which is not applicable
to the image_size codepath but was not hurting in any way.

Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/glsl/builtin_functions.cpp