Lines Matching defs:gfx

52       const VkGraphicsPipelineCreateInfo *gfx;
116 builder->create_info.gfx ?
117 builder->create_info.gfx->pStages :
120 builder->create_info.gfx ? builder->create_info.gfx->stageCount : 1;
223 if (builder->create_info.gfx &&
266 builder->create_info.gfx->pInputAssemblyState->topology;
298 if (builder->create_info.gfx && !pipeline->fs.dynamic_rsd) {
310 } else if (builder->create_info.gfx) {
338 panvk_per_arch(emit_viewport)(builder->create_info.gfx->pViewportState->pViewports,
339 builder->create_info.gfx->pViewportState->pScissors,
345 pipeline->viewport = builder->create_info.gfx->pViewportState->pViewports[0];
348 pipeline->scissor = builder->create_info.gfx->pViewportState->pScissors[0];
356 builder->create_info.gfx->pDynamicState;
405 builder->create_info.gfx->pInputAssemblyState->primitiveRestartEnable;
407 translate_prim_topology(builder->create_info.gfx->pInputAssemblyState->topology);
541 builder->create_info.gfx->pColorBlendState->logicOpEnable;
543 translate_logicop(builder->create_info.gfx->pColorBlendState->logicOp);
546 builder->create_info.gfx->pColorBlendState->blendConstants,
551 &builder->create_info.gfx->pColorBlendState->pAttachments[i];
558 out->nr_samples = builder->create_info.gfx->pMultisampleState->rasterizationSamples;
602 MAX2(builder->create_info.gfx->pMultisampleState->rasterizationSamples, 1);
605 builder->create_info.gfx->pMultisampleState->rasterizationSamples;
607 builder->create_info.gfx->pMultisampleState->pSampleMask ?
608 builder->create_info.gfx->pMultisampleState->pSampleMask[0] : UINT16_MAX;
610 MAX2(builder->create_info.gfx->pMultisampleState->minSampleShading * nr_samples, 1);
636 pipeline->zs.z_test = builder->create_info.gfx->pDepthStencilState->depthTestEnable;
648 builder->create_info.gfx->pDepthStencilState->depthWriteEnable;
651 panvk_per_arch(translate_compare_func)(builder->create_info.gfx->pDepthStencilState->depthCompareOp);
652 pipeline->zs.s_test = builder->create_info.gfx->pDepthStencilState->stencilTestEnable;
654 translate_stencil_op(builder->create_info.gfx->pDepthStencilState->front.failOp);
656 translate_stencil_op(builder->create_info.gfx->pDepthStencilState->front.passOp);
658 translate_stencil_op(builder->create_info.gfx->pDepthStencilState->front.depthFailOp);
660 panvk_per_arch(translate_compare_func)(builder->create_info.gfx->pDepthStencilState->front.compareOp);
662 builder->create_info.gfx->pDepthStencilState->front.compareMask;
664 builder->create_info.gfx->pDepthStencilState->front.writeMask;
666 builder->create_info.gfx->pDepthStencilState->front.reference;
668 translate_stencil_op(builder->create_info.gfx->pDepthStencilState->back.failOp);
670 translate_stencil_op(builder->create_info.gfx->pDepthStencilState->back.passOp);
672 translate_stencil_op(builder->create_info.gfx->pDepthStencilState->back.depthFailOp);
674 panvk_per_arch(translate_compare_func)(builder->create_info.gfx->pDepthStencilState->back.compareOp);
676 builder->create_info.gfx->pDepthStencilState->back.compareMask;
678 builder->create_info.gfx->pDepthStencilState->back.writeMask;
680 builder->create_info.gfx->pDepthStencilState->back.reference;
687 pipeline->rast.clamp_depth = builder->create_info.gfx->pRasterizationState->depthClampEnable;
688 pipeline->rast.depth_bias.enable = builder->create_info.gfx->pRasterizationState->depthBiasEnable;
690 builder->create_info.gfx->pRasterizationState->depthBiasConstantFactor;
691 pipeline->rast.depth_bias.clamp = builder->create_info.gfx->pRasterizationState->depthBiasClamp;
692 pipeline->rast.depth_bias.slope_factor = builder->create_info.gfx->pRasterizationState->depthBiasSlopeFactor;
693 pipeline->rast.front_ccw = builder->create_info.gfx->pRasterizationState->frontFace == VK_FRONT_FACE_COUNTER_CLOCKWISE;
694 pipeline->rast.cull_front_face = builder->create_info.gfx->pRasterizationState->cullMode & VK_CULL_MODE_FRONT_BIT;
695 pipeline->rast.cull_back_face = builder->create_info.gfx->pRasterizationState->cullMode & VK_CULL_MODE_BACK_BIT;
696 pipeline->rast.line_width = builder->create_info.gfx->pRasterizationState->lineWidth;
697 pipeline->rast.enable = !builder->create_info.gfx->pRasterizationState->rasterizerDiscardEnable;
824 builder->create_info.gfx->pVertexInputState;
892 if (builder->create_info.gfx) {
930 .create_info.gfx = create_info,