Commit d6724471 authored by Nataraj Deshpande's avatar Nataraj Deshpande Committed by Tapani Pälli

anv: Fix check for isl_fmt in assert

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

Fixes: f1654fa7 "anv/android: support creating images from external format"
Signed-off-by: Nataraj Deshpande's avatarNataraj Deshpande <>
Reviewed-by: Tapani Pälli's avatarTapani Pälli <>
Reviewed-by: Sagar Ghuge's avatarSagar Ghuge <>
parent 09d230c6
......@@ -821,7 +821,7 @@ resolve_ahw_image(struct anv_device *device,
assert(format != ISL_FORMAT_UNSUPPORTED);
assert(isl_fmt != ISL_FORMAT_UNSUPPORTED);
/* Handle RGB(X)->RGBA fallback. */
switch (desc.format) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment