Commit 124f6b54 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

panfrost: Zero pixels in any axis is zero pixels total

Multiplication, not addition, so switch the logic operator.
Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
parent 06211f45
......@@ -1601,7 +1601,7 @@ panfrost_scissor_culls_everything(struct panfrost_context *ctx)
if (!(ss && ctx->rasterizer && ctx->rasterizer->base.scissor))
return false;
return (ss->minx == ss->maxx) && (ss->miny == ss->maxy);
return (ss->minx == ss->maxx) || (ss->miny == ss->maxy);
}
static void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment