diff options
author | Dave Airlie <airlied@redhat.com> | 2020-06-19 15:27:51 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-07-27 13:11:58 +1000 |
commit | d46e0991055303e56dc023336fb99ee2c750684d (patch) | |
tree | 4b9364ae8f72626dcfc5de150851985301105ee7 | |
parent | 327a16b231cded17fa4902eb03c4ad0b5cc5fdf1 (diff) |
llvmpipe/cs: update compute counters not fragment shader.
This was updating the wrong counters.
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |