diff options
author | Ilia Mirkin <[email protected]> | 2016-11-19 19:01:06 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-11-30 20:35:16 -0500 |
commit | 3b736acf1b707d3c6c6e6875400409f91ef9e1ac (patch) | |
tree | 804bd9bdec257cdddd7f5db5fd29ab6064472bf5 /src | |
parent | 763c015ce52fe84e669b4fba722da06b72267d8f (diff) |
swr: [rasterizer memory] assert when trying to convert an unknown format
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/memory/Convert.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<R8G8B8_SINT>(pDst, srcPixel); break; case RAW: ConvertPixelFromFloat<RAW>(pDst, srcPixel); break; default: + SWR_ASSERT(0); break; } } |