diff options
-rw-r--r-- | src/gallium/drivers/panfrost/pan_instancing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_instancing.c b/src/gallium/drivers/panfrost/pan_instancing.c index cd93fa7be9c..30023725b2e 100644 --- a/src/gallium/drivers/panfrost/pan_instancing.c +++ b/src/gallium/drivers/panfrost/pan_instancing.c @@ -228,7 +228,7 @@ panfrost_vertex_instanced( /* Apply round-down algorithm? e <= 2^shift?. XXX: The blob * seems to use a different condition */ - if (e <= (1 << shift)) { + if (e <= (1ll << shift)) { magic_divisor = m - 1; extra_flags = 1; } |