Lines Matching refs:pipeline_data
468 const PipelineData* pipeline_data) { in GetVkPipelineDepthStencilInfo() argument
474 depthstencil_info.depthTestEnable = pipeline_data->GetEnableDepthTest(); in GetVkPipelineDepthStencilInfo()
475 depthstencil_info.depthWriteEnable = pipeline_data->GetEnableDepthWrite(); in GetVkPipelineDepthStencilInfo()
477 ToVkCompareOp(pipeline_data->GetDepthCompareOp()); in GetVkPipelineDepthStencilInfo()
479 pipeline_data->GetEnableDepthBoundsTest(); in GetVkPipelineDepthStencilInfo()
480 depthstencil_info.stencilTestEnable = pipeline_data->GetEnableStencilTest(); in GetVkPipelineDepthStencilInfo()
483 ToVkStencilOp(pipeline_data->GetFrontFailOp()); in GetVkPipelineDepthStencilInfo()
485 ToVkStencilOp(pipeline_data->GetFrontPassOp()); in GetVkPipelineDepthStencilInfo()
487 ToVkStencilOp(pipeline_data->GetFrontDepthFailOp()); in GetVkPipelineDepthStencilInfo()
489 ToVkCompareOp(pipeline_data->GetFrontCompareOp()); in GetVkPipelineDepthStencilInfo()
490 depthstencil_info.front.compareMask = pipeline_data->GetFrontCompareMask(); in GetVkPipelineDepthStencilInfo()
491 depthstencil_info.front.writeMask = pipeline_data->GetFrontWriteMask(); in GetVkPipelineDepthStencilInfo()
492 depthstencil_info.front.reference = pipeline_data->GetFrontReference(); in GetVkPipelineDepthStencilInfo()
494 depthstencil_info.back.failOp = ToVkStencilOp(pipeline_data->GetBackFailOp()); in GetVkPipelineDepthStencilInfo()
495 depthstencil_info.back.passOp = ToVkStencilOp(pipeline_data->GetBackPassOp()); in GetVkPipelineDepthStencilInfo()
497 ToVkStencilOp(pipeline_data->GetBackDepthFailOp()); in GetVkPipelineDepthStencilInfo()
499 ToVkCompareOp(pipeline_data->GetBackCompareOp()); in GetVkPipelineDepthStencilInfo()
500 depthstencil_info.back.compareMask = pipeline_data->GetBackCompareMask(); in GetVkPipelineDepthStencilInfo()
501 depthstencil_info.back.writeMask = pipeline_data->GetBackWriteMask(); in GetVkPipelineDepthStencilInfo()
502 depthstencil_info.back.reference = pipeline_data->GetBackReference(); in GetVkPipelineDepthStencilInfo()
504 depthstencil_info.minDepthBounds = pipeline_data->GetMinDepthBounds(); in GetVkPipelineDepthStencilInfo()
505 depthstencil_info.maxDepthBounds = pipeline_data->GetMaxDepthBounds(); in GetVkPipelineDepthStencilInfo()
512 const PipelineData* pipeline_data) { in GetVkPipelineColorBlendAttachmentState() argument
518 colorblend_attachment.blendEnable = pipeline_data->GetEnableBlend(); in GetVkPipelineColorBlendAttachmentState()
520 ToVkBlendFactor(pipeline_data->GetSrcColorBlendFactor()); in GetVkPipelineColorBlendAttachmentState()
522 ToVkBlendFactor(pipeline_data->GetDstColorBlendFactor()); in GetVkPipelineColorBlendAttachmentState()
524 ToVkBlendOp(pipeline_data->GetColorBlendOp()); in GetVkPipelineColorBlendAttachmentState()
526 ToVkBlendFactor(pipeline_data->GetSrcAlphaBlendFactor()); in GetVkPipelineColorBlendAttachmentState()
528 ToVkBlendFactor(pipeline_data->GetDstAlphaBlendFactor()); in GetVkPipelineColorBlendAttachmentState()
530 ToVkBlendOp(pipeline_data->GetAlphaBlendOp()); in GetVkPipelineColorBlendAttachmentState()
531 colorblend_attachment.colorWriteMask = pipeline_data->GetColorWriteMask(); in GetVkPipelineColorBlendAttachmentState()
538 const PipelineData* pipeline_data, in CreateVkGraphicsPipeline() argument
543 if (!pipeline_data) { in CreateVkGraphicsPipeline()
576 pipeline_data->GetEnablePrimitiveRestart(); in CreateVkGraphicsPipeline()
627 rasterization_info.depthClampEnable = pipeline_data->GetEnableDepthClamp(); in CreateVkGraphicsPipeline()
629 pipeline_data->GetEnableRasterizerDiscard(); in CreateVkGraphicsPipeline()
631 ToVkPolygonMode(pipeline_data->GetPolygonMode()); in CreateVkGraphicsPipeline()
632 rasterization_info.cullMode = ToVkCullMode(pipeline_data->GetCullMode()); in CreateVkGraphicsPipeline()
633 rasterization_info.frontFace = ToVkFrontFace(pipeline_data->GetFrontFace()); in CreateVkGraphicsPipeline()
634 rasterization_info.depthBiasEnable = pipeline_data->GetEnableDepthBias(); in CreateVkGraphicsPipeline()
636 pipeline_data->GetDepthBiasConstantFactor(); in CreateVkGraphicsPipeline()
637 rasterization_info.depthBiasClamp = pipeline_data->GetDepthBiasClamp(); in CreateVkGraphicsPipeline()
639 pipeline_data->GetDepthBiasSlopeFactor(); in CreateVkGraphicsPipeline()
640 rasterization_info.lineWidth = pipeline_data->GetLineWidth(); in CreateVkGraphicsPipeline()
654 depthstencil_info = GetVkPipelineDepthStencilInfo(pipeline_data); in CreateVkGraphicsPipeline()
662 GetVkPipelineColorBlendAttachmentState(pipeline_data); in CreateVkGraphicsPipeline()
666 colorblend_info.logicOpEnable = pipeline_data->GetEnableLogicOp(); in CreateVkGraphicsPipeline()
667 colorblend_info.logicOp = ToVkLogicOp(pipeline_data->GetLogicOp()); in CreateVkGraphicsPipeline()