diff options
author | Chad Versace <[email protected]> | 2017-05-26 18:44:14 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2017-06-01 12:41:26 -0700 |
commit | 6551655ffdce88787ae2fd2cc33de70dda34b601 (patch) | |
tree | 847cf9957f28fbe2681f9660789ca3b59018f1b4 /src/mesa | |
parent | de69002faa71de12a46234da5fbeaf6a5afe4904 (diff) |
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]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_surface_formats.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_surface_formats.c b/src/mesa/drivers/dri/i965/brw_surface_formats.c index 155146cb92c..52d3acbb377 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); } } |