diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index aeb2b938dd4..162067d1fb0 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -1000,11 +1000,11 @@ update_cache_sha1_cpu(struct mesa_sha1 *ctx) const struct util_cpu_caps_t *cpu_caps = util_get_cpu_caps(); /* * Don't need the cpu cache affinity stuff. The rest - * is contained in first 6 dwords. + * is contained in first 5 dwords. */ STATIC_ASSERT(offsetof(struct util_cpu_caps_t, num_L3_caches) - == 6 * sizeof(uint32_t)); - _mesa_sha1_update(ctx, cpu_caps, 6 * sizeof(uint32_t)); + == 5 * sizeof(uint32_t)); + _mesa_sha1_update(ctx, cpu_caps, 5 * sizeof(uint32_t)); }