From: Ilia Mirkin Date: Sun, 20 Nov 2016 00:01:06 +0000 (-0500) Subject: swr: [rasterizer memory] assert when trying to convert an unknown format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b736acf1b707d3c6c6e6875400409f91ef9e1ac;p=mesa.git swr: [rasterizer memory] assert when trying to convert an unknown format Signed-off-by: Ilia Mirkin Reviewed-by: Tim Rowley --- diff --git a/src/gallium/drivers/swr/rasterizer/memory/Convert.h b/src/gallium/drivers/swr/rasterizer/memory/Convert.h index c31459c12f5..527324ca6cb 100644 --- a/src/gallium/drivers/swr/rasterizer/memory/Convert.h +++ b/src/gallium/drivers/swr/rasterizer/memory/Convert.h @@ -724,6 +724,7 @@ INLINE static void ConvertPixelFromFloat( case R8G8B8_SINT: ConvertPixelFromFloat(pDst, srcPixel); break; case RAW: ConvertPixelFromFloat(pDst, srcPixel); break; default: + SWR_ASSERT(0); break; } }