Lines Matching refs:pPipe
714 …rawStateFlags(layer_data *dev_data, GLOBAL_CB_NODE *pCB, const PIPELINE_STATE *pPipe, bool indexed, in ValidateDrawStateFlags() argument
717 if (pPipe->topology_at_rasterizer == VK_PRIMITIVE_TOPOLOGY_LINE_LIST || in ValidateDrawStateFlags()
718 pPipe->topology_at_rasterizer == VK_PRIMITIVE_TOPOLOGY_LINE_STRIP) { in ValidateDrawStateFlags()
722 if (pPipe->graphicsPipelineCI.pRasterizationState && in ValidateDrawStateFlags()
723 (pPipe->graphicsPipelineCI.pRasterizationState->depthBiasEnable == VK_TRUE)) { in ValidateDrawStateFlags()
727 if (pPipe->blendConstantsEnabled) { in ValidateDrawStateFlags()
731 if (pPipe->graphicsPipelineCI.pDepthStencilState && in ValidateDrawStateFlags()
732 (pPipe->graphicsPipelineCI.pDepthStencilState->depthBoundsTestEnable == VK_TRUE)) { in ValidateDrawStateFlags()
736 if (pPipe->graphicsPipelineCI.pDepthStencilState && in ValidateDrawStateFlags()
737 (pPipe->graphicsPipelineCI.pDepthStencilState->stencilTestEnable == VK_TRUE)) { in ValidateDrawStateFlags()
1154 PIPELINE_STATE *pPipe = state.pipeline_state; in ValidateCmdBufDrawState() local
1155 if (nullptr == pPipe) { in ValidateCmdBufDrawState()
1164 result = ValidateDrawStateFlags(dev_data, cb_node, pPipe, indexed, state_err_code); in ValidateCmdBufDrawState()
1168 auto const &pipeline_layout = pPipe->pipeline_layout; in ValidateCmdBufDrawState()
1170 for (const auto &set_binding_pair : pPipe->active_slots) { in ValidateCmdBufDrawState()
1177 … dev_data->report_data->FormatHandle(pPipe->pipeline).c_str(), setIndex); in ValidateCmdBufDrawState()
1198 pPipe); in ValidateCmdBufDrawState()
1216 … result |= ValidatePipelineDrawtimeState(dev_data, state, cb_node, cmd_type, pPipe, function); in ValidateCmdBufDrawState()
1223 PIPELINE_STATE *pPipe = state.pipeline_state; in UpdateDrawState() local
1225 for (const auto &set_binding_pair : pPipe->active_slots) { in UpdateDrawState()
1241 if (!pPipe->vertex_binding_descriptions_.empty()) { in UpdateDrawState()
5057 void SetPipelineState(PIPELINE_STATE *pPipe) { in SetPipelineState() argument
5059 if (pPipe->graphicsPipelineCI.pColorBlendState) { in SetPipelineState()
5060 for (size_t i = 0; i < pPipe->attachments.size(); ++i) { in SetPipelineState()
5061 if (VK_TRUE == pPipe->attachments[i].blendEnable) { in SetPipelineState()
5062 … if (((pPipe->attachments[i].dstAlphaBlendFactor >= VK_BLEND_FACTOR_CONSTANT_COLOR) && in SetPipelineState()
5063 … (pPipe->attachments[i].dstAlphaBlendFactor <= VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA)) || in SetPipelineState()
5064 … ((pPipe->attachments[i].dstColorBlendFactor >= VK_BLEND_FACTOR_CONSTANT_COLOR) && in SetPipelineState()
5065 … (pPipe->attachments[i].dstColorBlendFactor <= VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA)) || in SetPipelineState()
5066 … ((pPipe->attachments[i].srcAlphaBlendFactor >= VK_BLEND_FACTOR_CONSTANT_COLOR) && in SetPipelineState()
5067 … (pPipe->attachments[i].srcAlphaBlendFactor <= VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA)) || in SetPipelineState()
5068 … ((pPipe->attachments[i].srcColorBlendFactor >= VK_BLEND_FACTOR_CONSTANT_COLOR) && in SetPipelineState()
5069 … (pPipe->attachments[i].srcColorBlendFactor <= VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA))) { in SetPipelineState()
5070 pPipe->blendConstantsEnabled = true; in SetPipelineState()