intel/isl: Set null surface format to R32_UINT
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 4 Oct 2019 10:12:44 +0000 (13:12 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 5 Oct 2019 20:54:33 +0000 (20:54 +0000)
commitc445d6f66e336d9486c7dfd72dbdf698de93a650
treee13c91ad522407b26624c2ad467292b449aae712
parent1249cf19b0a69e01d8650331712ae9411d0bcf45
intel/isl: Set null surface format to R32_UINT

It appears we never had a test in piglit or deqp sampling from a null
surface...

It turns out this triggers a hang on IVB only. Updating the null
surface format to R32_UINT fixes the hang on ivb and doesn't affect
other platforms, so set it by default for all platforms.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/1872
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/isl/isl_surface_state.c