• Home
  • Raw
  • Download

Lines Matching refs:pPipe

743 bool CoreChecks::ValidateDrawStateFlags(const CMD_BUFFER_STATE *pCB, const PIPELINE_STATE *pPipe, b…  in ValidateDrawStateFlags()  argument
746 if (pPipe->topology_at_rasterizer == VK_PRIMITIVE_TOPOLOGY_LINE_LIST || in ValidateDrawStateFlags()
747 pPipe->topology_at_rasterizer == VK_PRIMITIVE_TOPOLOGY_LINE_STRIP) { in ValidateDrawStateFlags()
751 if (pPipe->graphicsPipelineCI.pRasterizationState && in ValidateDrawStateFlags()
752 (pPipe->graphicsPipelineCI.pRasterizationState->depthBiasEnable == VK_TRUE)) { in ValidateDrawStateFlags()
756 if (pPipe->blendConstantsEnabled) { in ValidateDrawStateFlags()
760 if (pPipe->graphicsPipelineCI.pDepthStencilState && in ValidateDrawStateFlags()
761 (pPipe->graphicsPipelineCI.pDepthStencilState->depthBoundsTestEnable == VK_TRUE)) { in ValidateDrawStateFlags()
765 if (pPipe->graphicsPipelineCI.pDepthStencilState && in ValidateDrawStateFlags()
766 (pPipe->graphicsPipelineCI.pDepthStencilState->stencilTestEnable == VK_TRUE)) { in ValidateDrawStateFlags()
778 if (pPipe->topology_at_rasterizer == VK_PRIMITIVE_TOPOLOGY_LINE_LIST || in ValidateDrawStateFlags()
779 pPipe->topology_at_rasterizer == VK_PRIMITIVE_TOPOLOGY_LINE_STRIP) { in ValidateDrawStateFlags()
781 …lvl_find_in_chain<VkPipelineRasterizationLineStateCreateInfoEXT>(pPipe->graphicsPipelineCI.pRaster… in ValidateDrawStateFlags()
1168 const PIPELINE_STATE *pPipe = nullptr; in ValidateCmdBufDrawState() local
1170 pPipe = last_bound_it->second.pipeline_state; in ValidateCmdBufDrawState()
1173 if (nullptr == pPipe) { in ValidateCmdBufDrawState()
1184 …ND_POINT_GRAPHICS == bind_point) result = ValidateDrawStateFlags(cb_node, pPipe, indexed, state_er… in ValidateCmdBufDrawState()
1188 auto const &pipeline_layout = pPipe->pipeline_layout; in ValidateCmdBufDrawState()
1190 for (const auto &set_binding_pair : pPipe->active_slots) { in ValidateCmdBufDrawState()
1197 …"%s uses set #%u but that set is not bound.", report_data->FormatHandle(pPipe->pipeline).c_str(), … in ValidateCmdBufDrawState()
1218 const auto &binding_req_map = reduced_map.FilteredMap(*cb_node, *pPipe); in ValidateCmdBufDrawState()
1256 result |= ValidatePipelineDrawtimeState(state, cb_node, cmd_type, pPipe, function); in ValidateCmdBufDrawState()
1263 PIPELINE_STATE *pPipe = state.pipeline_state; in UpdateDrawState() local
1265 for (const auto &set_binding_pair : pPipe->active_slots) { in UpdateDrawState()
1275 const auto &binding_req_map = reduced_map.FilteredMap(*cb_state, *pPipe); in UpdateDrawState()
1279 descriptor_set->UpdateValidationCache(*cb_state, *pPipe, binding_req_map); in UpdateDrawState()
1316 if (!pPipe->vertex_binding_descriptions_.empty()) { in UpdateDrawState()
4996 void SetPipelineState(PIPELINE_STATE *pPipe) { in SetPipelineState() argument
4998 if (pPipe->graphicsPipelineCI.pColorBlendState) { in SetPipelineState()
4999 for (size_t i = 0; i < pPipe->attachments.size(); ++i) { in SetPipelineState()
5000 if (VK_TRUE == pPipe->attachments[i].blendEnable) { in SetPipelineState()
5001 … if (((pPipe->attachments[i].dstAlphaBlendFactor >= VK_BLEND_FACTOR_CONSTANT_COLOR) && in SetPipelineState()
5002 … (pPipe->attachments[i].dstAlphaBlendFactor <= VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA)) || in SetPipelineState()
5003 … ((pPipe->attachments[i].dstColorBlendFactor >= VK_BLEND_FACTOR_CONSTANT_COLOR) && in SetPipelineState()
5004 … (pPipe->attachments[i].dstColorBlendFactor <= VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA)) || in SetPipelineState()
5005 … ((pPipe->attachments[i].srcAlphaBlendFactor >= VK_BLEND_FACTOR_CONSTANT_COLOR) && in SetPipelineState()
5006 … (pPipe->attachments[i].srcAlphaBlendFactor <= VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA)) || in SetPipelineState()
5007 … ((pPipe->attachments[i].srcColorBlendFactor >= VK_BLEND_FACTOR_CONSTANT_COLOR) && in SetPipelineState()
5008 … (pPipe->attachments[i].srcColorBlendFactor <= VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA))) { in SetPipelineState()
5009 pPipe->blendConstantsEnabled = true; in SetPipelineState()