diff --git a/.pick_status.json b/.pick_status.json index 50cf12ff98f..ac4aeba0070 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -244,7 +244,7 @@ "description": "llvmpipe: align with u_cpu_detect struct changes", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index f85911b4703..b5a841695f0 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -1001,11 +1001,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)); }