On 04/29/2014 04:34 PM, Eric Anholt wrote:
[snip]
> @@ -319,13 +319,15 @@ gen7_update_texture_surface(struct gl_context *ctx,
>     if (mt->array_spacing_lod0)
>        surf[0] |= GEN7_SURFACE_ARYSPC_LOD0;
>  
> -   surf[1] = mt->region->bo->offset64 + mt->offset; /* reloc */
> +   surf[1] = mt->bo->offset64 + mt->offset; /* reloc */
>  
>     surf[2] = SET_FIELD(mt->logical_width0 - 1, GEN7_SURFACE_WIDTH) |
>               SET_FIELD(mt->logical_height0 - 1, GEN7_SURFACE_HEIGHT);
>  
> +   printf("tex pitch %d\n", mt->pitch);
> +

Bogus debug printf here.  Otherwise, looks good.

With that fixed, this patch is:
Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to