<div dir="ltr">LGTM<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 4, 2016 at 10:03 AM, Nanley Chery <span dir="ltr"><<a href="mailto:nanleychery@gmail.com" target="_blank">nanleychery@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Nanley Chery <<a href="mailto:nanley.g.chery@intel.com">nanley.g.chery@intel.com</a>><br>
<br>
Match the comment stated above the assignment.<br>
<br>
Signed-off-by: Nanley Chery <<a href="mailto:nanley.g.chery@intel.com">nanley.g.chery@intel.com</a>><br>
---<br>
 src/intel/isl/isl_surface_state.c | 3 ++-<br>
 1 file changed, 2 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/src/intel/isl/isl_surface_state.c b/src/intel/isl/isl_surface_state.c<br>
index fe8f07c..f3390a6 100644<br>
--- a/src/intel/isl/isl_surface_state.c<br>
+++ b/src/intel/isl/isl_surface_state.c<br>
@@ -346,7 +346,8 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,<br>
        *    indicates the extent of the accessible 'R' coordinates minus 1 on<br>
        *    the LOD currently being rendered to.<br>
        */<br>
-      s.RenderTargetViewExtent = info->surf->logical_level0_px.depth - 1;<br>
+      s.RenderTargetViewExtent = isl_minify(info->surf->logical_level0_px.depth,<br>
+                                            info->view->base_level) - 1;<br>
       break;<br>
    default:<br>
       unreachable(!"bad SurfaceType");<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.7.2<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>