Lines Matching refs:stencilInfo
242 VkPipelineDepthStencilStateCreateInfo* stencilInfo) { in setup_depth_stencil_state() argument
244 memset(stencilInfo, 0, sizeof(VkPipelineDepthStencilStateCreateInfo)); in setup_depth_stencil_state()
245 stencilInfo->sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; in setup_depth_stencil_state()
246 stencilInfo->pNext = nullptr; in setup_depth_stencil_state()
247 stencilInfo->flags = 0; in setup_depth_stencil_state()
249 stencilInfo->depthTestEnable = VK_FALSE; in setup_depth_stencil_state()
250 stencilInfo->depthWriteEnable = VK_FALSE; in setup_depth_stencil_state()
251 stencilInfo->depthCompareOp = VK_COMPARE_OP_ALWAYS; in setup_depth_stencil_state()
252 stencilInfo->depthBoundsTestEnable = VK_FALSE; in setup_depth_stencil_state()
253 stencilInfo->stencilTestEnable = !stencilSettings.isDisabled(); in setup_depth_stencil_state()
256 setup_stencil_op_state(&stencilInfo->front, stencilSettings.singleSidedFace()); in setup_depth_stencil_state()
257 stencilInfo->back = stencilInfo->front; in setup_depth_stencil_state()
259 setup_stencil_op_state(&stencilInfo->front, stencilSettings.postOriginCCWFace(origin)); in setup_depth_stencil_state()
260 setup_stencil_op_state(&stencilInfo->back, stencilSettings.postOriginCWFace(origin)); in setup_depth_stencil_state()
263 stencilInfo->minDepthBounds = 0.0f; in setup_depth_stencil_state()
264 stencilInfo->maxDepthBounds = 1.0f; in setup_depth_stencil_state()