I found the line of code that breaks the test, but don't know how to
easily fix it.

Signed-off-by: Chad Versace <chad.vers...@linux.intel.com>
---
 src/mesa/drivers/dri/i965/brw_context.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c 
b/src/mesa/drivers/dri/i965/brw_context.c
index 4d51e62..0021eb5 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -97,6 +97,9 @@ static void brwPrepareExecBegin(struct gl_context *ctx)
       tex_obj = intel_texture_object(ctx->Texture.Unit[i]._Current);
       if (!tex_obj || !tex_obj->mt)
         continue;
+      /* FIXME: The hiz resolve here (not the depth resolve) breaks Piglit
+       * FIXME: test glean/fbo on gen6.
+       */
       intel_miptree_all_slices_resolve_hiz(intel, tex_obj->mt);
       intel_miptree_all_slices_resolve_depth(intel, tex_obj->mt);
    }
-- 
1.7.7.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to