Lines Matching refs:ds_state
636 VkPipelineDepthStencilStateCreateInfo ds_state; in create_graphics_pipeline() local
637 ds_state.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; in create_graphics_pipeline()
638 ds_state.pNext = NULL; in create_graphics_pipeline()
639 ds_state.flags = 0; in create_graphics_pipeline()
640 ds_state.depthTestEnable = ds_output != VK_FORMAT_UNDEFINED; in create_graphics_pipeline()
641 ds_state.depthWriteEnable = true; in create_graphics_pipeline()
642 ds_state.depthCompareOp = VK_COMPARE_OP_ALWAYS; in create_graphics_pipeline()
643 ds_state.depthBoundsTestEnable = false; in create_graphics_pipeline()
644 ds_state.stencilTestEnable = true; in create_graphics_pipeline()
645 ds_state.front.failOp = VK_STENCIL_OP_KEEP; in create_graphics_pipeline()
646 ds_state.front.passOp = VK_STENCIL_OP_REPLACE; in create_graphics_pipeline()
647 ds_state.front.depthFailOp = VK_STENCIL_OP_REPLACE; in create_graphics_pipeline()
648 ds_state.front.compareOp = VK_COMPARE_OP_ALWAYS; in create_graphics_pipeline()
649 ds_state.front.compareMask = 0xffffffff, in create_graphics_pipeline()
650 ds_state.front.reference = 0; in create_graphics_pipeline()
651 ds_state.back = ds_state.front; in create_graphics_pipeline()
689 gfx_pipeline_info.pDepthStencilState = &ds_state; in create_graphics_pipeline()