Module: Mesa Branch: master Commit: 6551655ffdce88787ae2fd2cc33de70dda34b601 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6551655ffdce88787ae2fd2cc33de70dda34b601
Author: Chad Versace <[email protected]> Date: Fri May 26 18:44:14 2017 -0700 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 <[email protected]> --- src/mesa/drivers/dri/i965/brw_surface_formats.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_surface_formats.c b/src/mesa/drivers/dri/i965/brw_surface_formats.c index 155146cb92..52d3acbb37 100644 --- a/src/mesa/drivers/dri/i965/brw_surface_formats.c +++ b/src/mesa/drivers/dri/i965/brw_surface_formats.c @@ -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); } } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
