[Mesa-dev] [PATCH] i965: Request a miptree with no tiling intel_miptree_map_blit().

Ben Widawsky ben at bwidawsk.net
Thu Aug 6 11:02:00 PDT 2015


On Wed, Aug 05, 2015 at 06:54:06PM -0700, Matt Turner wrote:
> Regression since commit 3a31876600, when tiling modes were moved into
> layout_flags.
> ---
>  src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> index 5e7859c..cb2791d 100644
> --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> @@ -2149,7 +2149,7 @@ intel_miptree_map_blit(struct brw_context *brw,
>     map->mt = intel_miptree_create(brw, GL_TEXTURE_2D, mt->format,
>                                    0, 0,
>                                    map->w, map->h, 1,
> -                                  0, 0);
> +                                  0, MIPTREE_LAYOUT_ALLOC_LINEAR);
>  
>     if (!map->mt) {
>        fprintf(stderr, "Failed to allocate blit temporary\n");

Reviewed-by: Ben Widawsky <ben at bwidawsk.net>


More information about the mesa-dev mailing list