nv2a/vk: Drop pipeline merge stat

This commit is contained in:
Matt Borgerson 2024-11-14 01:32:31 -07:00 committed by mborgerson
parent 986b18214c
commit de1381c932
2 changed files with 0 additions and 7 deletions

View File

@ -79,7 +79,6 @@
_X(NV2A_PROF_PIPELINE_NOTDIRTY) \
_X(NV2A_PROF_PIPELINE_GEN) \
_X(NV2A_PROF_PIPELINE_BIND) \
_X(NV2A_PROF_PIPELINE_MERGE) \
_X(NV2A_PROF_PIPELINE_RENDERPASSES) \
_X(NV2A_PROF_BEGIN_ENDS) \
_X(NV2A_PROF_DRAW_ARRAYS) \

View File

@ -717,12 +717,6 @@ static void create_pipeline(PGRAPHState *pg)
init_pipeline_key(pg, &key);
uint64_t hash = fast_hash((void *)&key, sizeof(key));
static uint64_t last_hash;
if (hash == last_hash) {
nv2a_profile_inc_counter(NV2A_PROF_PIPELINE_MERGE);
}
last_hash = hash;
LruNode *node = lru_lookup(&r->pipeline_cache, hash, &key);
PipelineBinding *snode = container_of(node, PipelineBinding, node);
if (snode->pipeline != VK_NULL_HANDLE) {