<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Reviewed-by: Tim Rowley <<a href="mailto:timothy.o.rowley@Intel.com" class="">timothy.o.rowley@intel.com</a>>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Oct 12, 2016, at 4:13 PM, Eric Engestrom <<a href="mailto:eric@engestrom.ch" class="">eric@engestrom.ch</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Fixes: b3bd8bb611bb465d2e5e ("swr: [rasterizer core] add support<br class="">
for "RAW" surface format")<br class="">
CovID: 1373647<br class="">
Signed-off-by: Eric Engestrom <<a href="mailto:eric@engestrom.ch" class="">eric@engestrom.ch</a>><br class="">
---<br class="">
src/gallium/drivers/swr/rasterizer/common/formats.h | 2 +-<br class="">
1 file changed, 1 insertion(+), 1 deletion(-)<br class="">
<br class="">
diff --git a/src/gallium/drivers/swr/rasterizer/common/formats.h b/src/gallium/drivers/swr/rasterizer/common/formats.h<br class="">
index 539e37a..dd5b499 100644<br class="">
--- a/src/gallium/drivers/swr/rasterizer/common/formats.h<br class="">
+++ b/src/gallium/drivers/swr/rasterizer/common/formats.h<br class="">
@@ -248,7 +248,7 @@ extern const SWR_FORMAT_INFO gFormatInfo[NUM_SWR_FORMATS];<br class="">
/// @param format - SWR format<br class="">
INLINE const SWR_FORMAT_INFO& GetFormatInfo(SWR_FORMAT format)<br class="">
{<br class="">
- SWR_ASSERT(format <= NUM_SWR_FORMATS, "Invalid Surface Format: %d", format);<br class="">
+ SWR_ASSERT(format < NUM_SWR_FORMATS, "Invalid Surface Format: %d", format);<br class="">
SWR_ASSERT(gFormatInfo[format].name != nullptr, "Invalid Surface Format: %d", format);<br class="">
return gFormatInfo[format];<br class="">
}<br class="">
-- <br class="">
Cheers,<br class="">
Eric<br class="">
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>