[Mesa-dev] [PATCH 41/41] i965: Document where Piglit test glean/fbo breaks due to HiZ

Eric Anholt eric at anholt.net
Fri Nov 18 17:55:49 PST 2011


On Thu, 17 Nov 2011 19:59:08 -0800, Chad Versace <chad.versace at linux.intel.com> wrote:
> 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

I've made it to the end!  At this point, I'm up for a known regression
to get this giant series landed.  Everything without specific comments
is now:

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111118/06031016/attachment-0001.pgp>


More information about the mesa-dev mailing list