diff --git a/.pick_status.json b/.pick_status.json index dd25d045d31..23e22595cb0 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1561,7 +1561,7 @@ "description": "llvmpipe/cs: update compute counters not fragment shader.", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": "a6f6ca37c82bb6810971cab0dccc308e4d28a05a" }, diff --git a/src/gallium/drivers/llvmpipe/lp_state_cs.c b/src/gallium/drivers/llvmpipe/lp_state_cs.c index be6d648cd53..3a437185ad6 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_cs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_cs.c @@ -509,8 +509,8 @@ llvmpipe_remove_cs_shader_variant(struct llvmpipe_context *lp, /* remove from context's list */ remove_from_list(&variant->list_item_global); - lp->nr_fs_variants--; - lp->nr_fs_instrs -= variant->nr_instrs; + lp->nr_cs_variants--; + lp->nr_cs_instrs -= variant->nr_instrs; FREE(variant); }