[Mesa-dev] [PATCH V5 6/7] intel: Create a miptree using offsets in intel_set_texture_image_region

Eric Anholt eric at anholt.net
Tue Jan 22 10:58:42 PST 2013


Abdiel Janulgue <abdiel.janulgue at linux.intel.com> writes:
> @@ -332,7 +344,10 @@ intelSetTexBuffer2(__DRIcontext *pDRICtx, GLint target,
>     _mesa_lock_texture(&intel->ctx, texObj);
>     texImage = _mesa_get_tex_image(ctx, texObj, target, level);
>     intel_set_texture_image_region(ctx, texImage, rb->mt->region, target,
> -				  internalFormat, texFormat, 0);
> +				  internalFormat, texFormat, 0,
> +                                  rb->mt->region->width,
> +				  rb->mt->region->height,
> +				  0, 0);
>     _mesa_unlock_texture(&intel->ctx, texObj);
>  }

Mixed space and tab indentation, just use spaces.

Other than that, patches 1-6 are:

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/20130122/576dccb1/attachment-0001.pgp>


More information about the mesa-dev mailing list