MCPcopy Create free account
hub / github.com/Inori/GPCS4 / createInstance

Method createInstance

GPCS4/Graphics/Violet/VltCompute.cpp:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 VltComputePipelineInstance* VltComputePipeline::createInstance(
62 const VltComputePipelineStateInfo& state)
63 {
64 VkPipeline newPipelineHandle = this->createPipeline(state);
65
66 m_pipeMgr->m_numComputePipelines += 1;
67 return &m_pipelines.emplace_back(state, newPipelineHandle);
68 }
69
70 VltComputePipelineInstance* VltComputePipeline::findInstance(
71 const VltComputePipelineStateInfo& state)

Callers 2

getPipelineHandleMethod · 0.95
compilePipelineMethod · 0.95

Calls 2

createPipelineMethod · 0.95
emplace_backMethod · 0.80

Tested by

no test coverage detected