[Mesa-dev] [PATCH 12/18] i965: Drop use of intel_region from miptrees.

Kenneth Graunke kenneth at whitecape.org
Wed Apr 30 00:06:12 PDT 2014


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 <kenneth at whitecape.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140430/be307a1e/attachment-0001.sig>


More information about the mesa-dev mailing list