anv: Fix check for isl_fmt in assert
authorNataraj Deshpande <nataraj.deshpande@intel.com>
Wed, 5 Jun 2019 19:32:01 +0000 (12:32 -0700)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 6 Jun 2019 06:24:08 +0000 (09:24 +0300)
commitd6724471a5775cbbeaafff1e1982f322b1d04c94
treead48f9dc5b8369412d086c13ab6a3a6c7ac752e4
parent09d230c6cfdc2dfd1cf5eef28b158dadc636228f
anv: Fix check for isl_fmt in assert

Checking isl_fmt returned value in assert seems appropriate
instead of format variable.

Fixes: f1654fa7e31 "anv/android: support creating images from external format"
Signed-off-by: Nataraj Deshpande <nataraj.deshpande@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
src/intel/vulkan/anv_image.c