mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 06:10:13 +01:00
llvmpipe/cs: update compute counters not fragment shader.
This was updating the wrong counters.
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Fixes: a6f6ca37c8 ("llvmpipe: add initial shader create/bind/destroy variants framework.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6339>
This commit is contained in:
parent
6c7383d315
commit
e137bbb87f
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue