[Mesa-dev] [PATCH 41/41] i965: Document where Piglit test glean/fbo breaks due to HiZ
Chad Versace
chad.versace at linux.intel.com
Thu Nov 17 19:59:08 PST 2011
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.versace at 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
More information about the mesa-dev
mailing list