i965: Remove bad assert on isl_format

translate_tex_format() asserted that isl_format != 0. But 0 is a valid
format, ISL_FORMAT_R32G32B32A32_FLOAT.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Chad Versace 2017-05-26 18:44:14 -07:00
parent de69002faa
commit 6551655ffd
1 changed files with 0 additions and 1 deletions

View File

@ -575,7 +575,6 @@ translate_tex_format(struct brw_context *brw,
}
default:
assert(brw_isl_format_for_mesa_format(mesa_format) != 0);
return brw_isl_format_for_mesa_format(mesa_format);
}
}