Home | History | Annotate | Download | only in vk

Lines Matching refs:rasterInfo

468                                VkPipelineRasterizationStateCreateInfo* rasterInfo) {
469 memset(rasterInfo, 0, sizeof(VkPipelineRasterizationStateCreateInfo));
470 rasterInfo->sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO;
471 rasterInfo->pNext = nullptr;
472 rasterInfo->flags = 0;
473 rasterInfo->depthClampEnable = VK_FALSE;
474 rasterInfo->rasterizerDiscardEnable = VK_FALSE;
475 rasterInfo->polygonMode = caps->wireframeMode() ? VK_POLYGON_MODE_LINE
477 rasterInfo->cullMode = VK_CULL_MODE_NONE;
478 rasterInfo->frontFace = VK_FRONT_FACE_COUNTER_CLOCKWISE;
479 rasterInfo->depthBiasEnable = VK_FALSE;
480 rasterInfo->depthBiasConstantFactor = 0.0f;
481 rasterInfo->depthBiasClamp = 0.0f;
482 rasterInfo->depthBiasSlopeFactor = 0.0f;
483 rasterInfo->lineWidth = 1.0f;
531 VkPipelineRasterizationStateCreateInfo rasterInfo;
532 setup_raster_state(pipeline, gpu->caps(), &rasterInfo);
549 pipelineCreateInfo.pRasterizationState = &rasterInfo;