Home | History | Annotate | Download | only in tests

Lines Matching refs:gp_ci

1304 void VkPipelineObj::InitGraphicsPipelineCreateInfo(VkGraphicsPipelineCreateInfo *gp_ci) {
1305 gp_ci->stageCount = m_shaderStages.size();
1306 gp_ci->pStages = m_shaderStages.size() ? m_shaderStages.data() : nullptr;
1309 gp_ci->pVertexInputState = &m_vi_state;
1312 gp_ci->pInputAssemblyState = &m_ia_state;
1314 gp_ci->sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO;
1315 gp_ci->pNext = NULL;
1316 gp_ci->flags = 0;
1340 gp_ci->pDynamicState = &m_pd_state;
1343 gp_ci->subpass = 0;
1344 gp_ci->pViewportState = &m_vp_state;
1345 gp_ci->pRasterizationState = &m_rs_state;
1346 gp_ci->pMultisampleState = &m_ms_state;
1347 gp_ci->pDepthStencilState = m_ds_state;
1348 gp_ci->pColorBlendState = &m_cb_state;
1349 gp_ci->pTessellationState = m_te_state;
1352 VkResult VkPipelineObj::CreateVKPipeline(VkPipelineLayout layout, VkRenderPass render_pass, VkGraphicsPipelineCreateInfo *gp_ci) {
1356 if (gp_ci == nullptr) {
1357 gp_ci = &info;
1358 InitGraphicsPipelineCreateInfo(gp_ci);
1361 gp_ci->layout = layout;
1362 gp_ci->renderPass = render_pass;
1364 return init_try(*m_device, *gp_ci);