[Mesa-dev] [PATCH] intel: make sure to setup image dimension in image_from_planar setup

Scott Moreau oreaus at gmail.com
Mon Feb 4 06:48:52 PST 2013


On Mon, Feb 4, 2013 at 4:30 AM, Abdiel Janulgue <
abdiel.janulgue at linux.intel.com> wrote:

> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=60212
>
> Signed-off-by: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
> ---
>  src/mesa/drivers/dri/intel/intel_screen.c |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/drivers/dri/intel/intel_screen.c
> b/src/mesa/drivers/dri/intel/intel_screen.c
> index c6346d8..defcd73 100644
> --- a/src/mesa/drivers/dri/intel/intel_screen.c
> +++ b/src/mesa/drivers/dri/intel/intel_screen.c
> @@ -682,6 +682,7 @@ intel_from_planar(__DRIimage *parent, int plane, void
> *loaderPrivate)
>      image->region->tiling = parent->region->tiling;
>      image->region->screen = parent->region->screen;
>      image->offset = offset;
> +    intel_setup_image_from_dimensions(image);
>
>      intel_region_get_tile_masks(image->region, &mask_x, &mask_y, false);
>      if (offset & mask_x)
> --
> 1.7.9.5



Hi, I wanted to mention that this fixes #60212
https://bugs.freedesktop.org/show_bug.cgi?id=60212

- Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130204/af79dc23/attachment.html>


More information about the mesa-dev mailing list