[Mesa-dev] [PATCH] intel: make sure to setup image dimension in image_from_planar setup
Chad Versace
chad.versace at linux.intel.com
Mon Feb 4 10:18:01 PST 2013
Abdiel,
This patch has my r-b. I'll add the Tested-by's given in the bug report
and commit.
On 02/04/2013 03:30 AM, Abdiel Janulgue 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)
>
More information about the mesa-dev
mailing list