<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 Nov 1, 2016, at 3:45 PM, Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu" class="">imirkin@alum.mit.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Signed-off-by: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu" class="">imirkin@alum.mit.edu</a>><br class="">
---<br class="">
src/gallium/drivers/swr/rasterizer/core/api.cpp | 4 +++-<br class="">
1 file changed, 3 insertions(+), 1 deletion(-)<br class="">
<br class="">
diff --git a/src/gallium/drivers/swr/rasterizer/core/api.cpp b/src/gallium/drivers/swr/rasterizer/core/api.cpp<br class="">
index 5f941e8..b1a426d 100644<br class="">
--- a/src/gallium/drivers/swr/rasterizer/core/api.cpp<br class="">
+++ b/src/gallium/drivers/swr/rasterizer/core/api.cpp<br class="">
@@ -950,9 +950,11 @@ void SetupPipeline(DRAW_CONTEXT *pDC)<br class="">
    // have to check for the special case where depth/stencil test is enabled but depthwrite is disabled.<br class="">
    pState->state.depthHottileEnable = ((!(pState->state.depthStencilState.depthTestEnable &&<br class="">
                                           !pState->state.depthStencilState.depthWriteEnable &&<br class="">
+                                           !pState->state.depthBoundsState.depthBoundsTestEnable &&<br class="">
                                           pState->state.depthStencilState.depthTestFunc == ZFUNC_ALWAYS)) &&
<br class="">
                                        (pState->state.depthStencilState.depthTestEnable ||
<br class="">
-                                         pState->state.depthStencilState.depthWriteEnable)) ? true : false;<br class="">
+                                         pState->state.depthStencilState.depthWriteEnable ||<br class="">
+                                         pState->state.depthBoundsState.depthBoundsTestEnable)) ? true : false;<br class="">
<br class="">
    pState->state.stencilHottileEnable = (((!(pState->state.depthStencilState.stencilTestEnable &&<br class="">
                                             !pState->state.depthStencilState.stencilWriteEnable &&<br class="">
-- <br class="">
2.7.3<br class="">
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>