Lines Matching refs:rasterInfo
394 VkPipelineRasterizationStateCreateInfo* rasterInfo) { in setup_raster_state() argument
395 memset(rasterInfo, 0, sizeof(VkPipelineRasterizationStateCreateInfo)); in setup_raster_state()
396 rasterInfo->sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO; in setup_raster_state()
397 rasterInfo->pNext = nullptr; in setup_raster_state()
398 rasterInfo->flags = 0; in setup_raster_state()
399 rasterInfo->depthClampEnable = VK_FALSE; in setup_raster_state()
400 rasterInfo->rasterizerDiscardEnable = VK_FALSE; in setup_raster_state()
401 rasterInfo->polygonMode = caps->wireframeMode() ? VK_POLYGON_MODE_LINE in setup_raster_state()
403 rasterInfo->cullMode = VK_CULL_MODE_NONE; in setup_raster_state()
404 rasterInfo->frontFace = VK_FRONT_FACE_COUNTER_CLOCKWISE; in setup_raster_state()
405 rasterInfo->depthBiasEnable = VK_FALSE; in setup_raster_state()
406 rasterInfo->depthBiasConstantFactor = 0.0f; in setup_raster_state()
407 rasterInfo->depthBiasClamp = 0.0f; in setup_raster_state()
408 rasterInfo->depthBiasSlopeFactor = 0.0f; in setup_raster_state()
409 rasterInfo->lineWidth = 1.0f; in setup_raster_state()
458 VkPipelineRasterizationStateCreateInfo rasterInfo; in Create() local
459 setup_raster_state(pipeline, gpu->caps(), &rasterInfo); in Create()
476 pipelineCreateInfo.pRasterizationState = &rasterInfo; in Create()