mirror of https://github.com/xemu-project/xemu.git
nv2a/vk: Drop pipeline merge stat
This commit is contained in:
parent
986b18214c
commit
de1381c932
|
@ -79,7 +79,6 @@
|
||||||
_X(NV2A_PROF_PIPELINE_NOTDIRTY) \
|
_X(NV2A_PROF_PIPELINE_NOTDIRTY) \
|
||||||
_X(NV2A_PROF_PIPELINE_GEN) \
|
_X(NV2A_PROF_PIPELINE_GEN) \
|
||||||
_X(NV2A_PROF_PIPELINE_BIND) \
|
_X(NV2A_PROF_PIPELINE_BIND) \
|
||||||
_X(NV2A_PROF_PIPELINE_MERGE) \
|
|
||||||
_X(NV2A_PROF_PIPELINE_RENDERPASSES) \
|
_X(NV2A_PROF_PIPELINE_RENDERPASSES) \
|
||||||
_X(NV2A_PROF_BEGIN_ENDS) \
|
_X(NV2A_PROF_BEGIN_ENDS) \
|
||||||
_X(NV2A_PROF_DRAW_ARRAYS) \
|
_X(NV2A_PROF_DRAW_ARRAYS) \
|
||||||
|
|
|
@ -717,12 +717,6 @@ static void create_pipeline(PGRAPHState *pg)
|
||||||
init_pipeline_key(pg, &key);
|
init_pipeline_key(pg, &key);
|
||||||
uint64_t hash = fast_hash((void *)&key, sizeof(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);
|
LruNode *node = lru_lookup(&r->pipeline_cache, hash, &key);
|
||||||
PipelineBinding *snode = container_of(node, PipelineBinding, node);
|
PipelineBinding *snode = container_of(node, PipelineBinding, node);
|
||||||
if (snode->pipeline != VK_NULL_HANDLE) {
|
if (snode->pipeline != VK_NULL_HANDLE) {
|
||||||
|
|
Loading…
Reference in New Issue