mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02: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> (cherry picked from commite137bbb87f)
This commit is contained in:
parent
b6a1444ed1
commit
bb2e75ec7d
2 changed files with 3 additions and 3 deletions
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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