summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-02-15 07:43:43 +0000
committerAlyssa Rosenzweig <[email protected]>2019-02-15 07:46:30 +0000
commitc70ed4ca18c60bc86d10f58a6400ea181a796eeb (patch)
tree01b527e04b988c2f9d018884861eb29edb79fbea /src/gallium/drivers
parent5155bcf099b3de014d9644260da32ca292897bd3 (diff)
panfrost: Don't align framebuffer dims
Fixes regressions with EGL clients Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/panfrost/pan_context.c4
1 files changed, 2 insertions, 2 deletions
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;