isl: Don't use surface format R32_FLOAT for typed atomic integer operations
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 30 Jun 2017 17:29:23 +0000 (10:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 15 Feb 2018 00:30:05 +0000 (16:30 -0800)
commit0cd37f9178d79ed62f1952939e1044cda5701a3a
treeabfa6da31c4f2fdb680688b3efbfac68dcb3b326
parent7be5f30bb1bbae7bba5ea52bd55c947ae131ca42
isl: Don't use surface format R32_FLOAT for typed atomic integer operations

From Skylake PRM Surface Formats section:

   "The surface format for the typed atomic integer operations must
    be R32_UINT or R32_SINT."

Fixes an error and a piglit GPU hang in simulation environment.
Piglit test: gl45-imageAtomicExchange-float.shader_test

Suggested-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.co
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "18.0 17.3" <mesa-stable@lists.freedesktop.org>
src/intel/isl/isl_storage_image.c