From: Alyssa Rosenzweig Date: Fri, 15 Feb 2019 07:43:43 +0000 (+0000) Subject: panfrost: Don't align framebuffer dims X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c70ed4ca18c60bc86d10f58a6400ea181a796eeb;p=mesa.git panfrost: Don't align framebuffer dims Fixes regressions with EGL clients Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index 6272578bd5f..39e51d94074 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -2286,8 +2286,8 @@ panfrost_set_framebuffer_state(struct pipe_context *pctx, ctx->pipe_framebuffer.nr_cbufs = fb->nr_cbufs; ctx->pipe_framebuffer.samples = fb->samples; ctx->pipe_framebuffer.layers = fb->layers; - ctx->pipe_framebuffer.width = ALIGN(fb->width, 16); - ctx->pipe_framebuffer.height = ALIGN(fb->height, 16); + ctx->pipe_framebuffer.width = fb->width; + ctx->pipe_framebuffer.height = fb->height; for (int i = 0; i < PIPE_MAX_COLOR_BUFS; i++) { struct pipe_surface *cb = i < fb->nr_cbufs ? fb->cbufs[i] : NULL;