Home | History | Annotate | Download | only in layers

Lines Matching refs:pPipe

775 static bool validate_draw_state_flags(layer_data *dev_data, GLOBAL_CB_NODE *pCB, const PIPELINE_STATE *pPipe, bool indexed,
778 if (pPipe->graphicsPipelineCI.pInputAssemblyState &&
779 ((pPipe->graphicsPipelineCI.pInputAssemblyState->topology == VK_PRIMITIVE_TOPOLOGY_LINE_LIST) ||
780 (pPipe->graphicsPipelineCI.pInputAssemblyState->topology == VK_PRIMITIVE_TOPOLOGY_LINE_STRIP))) {
784 if (pPipe->graphicsPipelineCI.pRasterizationState &&
785 (pPipe->graphicsPipelineCI.pRasterizationState->depthBiasEnable == VK_TRUE)) {
789 if (pPipe->blendConstantsEnabled) {
793 if (pPipe->graphicsPipelineCI.pDepthStencilState &&
794 (pPipe->graphicsPipelineCI.pDepthStencilState->depthBoundsTestEnable == VK_TRUE)) {
798 if (pPipe->graphicsPipelineCI.pDepthStencilState &&
799 (pPipe->graphicsPipelineCI.pDepthStencilState->stencilTestEnable == VK_TRUE)) {
1153 PIPELINE_STATE *pPipe = state.pipeline_state;
1154 if (nullptr == pPipe) {
1164 result = validate_draw_state_flags(dev_data, cb_node, pPipe, indexed, msg_code);
1169 auto pipeline_layout = pPipe->pipeline_layout;
1171 for (const auto &set_binding_pair : pPipe->active_slots) {
1178 "VkPipeline 0x%" PRIx64 " uses set #%u but that set is not bound.", HandleToUint64(pPipe->pipeline), setIndex);
1200 pPipe);
1219 result |= ValidatePipelineDrawtimeState(dev_data, state, cb_node, cmd_type, pPipe, function);
1226 PIPELINE_STATE *pPipe = state.pipeline_state;
1228 for (const auto &set_binding_pair : pPipe->active_slots) {
1244 if (pPipe->vertexBindingDescriptions.size() > 0) {
4767 void set_pipeline_state(PIPELINE_STATE *pPipe) {
4769 if (pPipe->graphicsPipelineCI.pColorBlendState) {
4770 for (size_t i = 0; i < pPipe->attachments.size(); ++i) {
4771 if (VK_TRUE == pPipe->attachments[i].blendEnable) {
4772 if (((pPipe->attachments[i].dstAlphaBlendFactor >= VK_BLEND_FACTOR_CONSTANT_COLOR) &&
4773 (pPipe->attachments[i].dstAlphaBlendFactor <= VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA)) ||
4774 ((pPipe->attachments[i].dstColorBlendFactor >= VK_BLEND_FACTOR_CONSTANT_COLOR) &&
4775 (pPipe->attachments[i].dstColorBlendFactor <= VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA)) ||
4776 ((pPipe->attachments[i].srcAlphaBlendFactor >= VK_BLEND_FACTOR_CONSTANT_COLOR) &&
4777 (pPipe->attachments[i].srcAlphaBlendFactor <= VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA)) ||
4778 ((pPipe->attachments[i].srcColorBlendFactor >= VK_BLEND_FACTOR_CONSTANT_COLOR) &&
4779 (pPipe->attachments[i].srcColorBlendFactor <= VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA))) {
4780 pPipe->blendConstantsEnabled = true;