panfrost: Zero pixels in any axis is zero pixels total
Multiplication, not addition, so switch the logic operator. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
06211f45a7
commit
124f6b541b
|
@ -1601,7 +1601,7 @@ panfrost_scissor_culls_everything(struct panfrost_context *ctx)
|
||||||
if (!(ss && ctx->rasterizer && ctx->rasterizer->base.scissor))
|
if (!(ss && ctx->rasterizer && ctx->rasterizer->base.scissor))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return (ss->minx == ss->maxx) && (ss->miny == ss->maxy);
|
return (ss->minx == ss->maxx) || (ss->miny == ss->maxy);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue