Lines Matching refs:depthStencilState
303 const VkPipelineDepthStencilStateCreateInfo* depthStencilState = pCreateInfo->pDepthStencilState; in GraphicsPipeline() local
304 if((depthStencilState->flags != 0) || in GraphicsPipeline()
305 (depthStencilState->depthBoundsTestEnable != 0) || in GraphicsPipeline()
306 (depthStencilState->minDepthBounds != 0.0f) || in GraphicsPipeline()
307 (depthStencilState->maxDepthBounds != 1.0f)) in GraphicsPipeline()
312 context.depthBufferEnable = depthStencilState->depthTestEnable; in GraphicsPipeline()
313 context.depthWriteEnable = depthStencilState->depthWriteEnable; in GraphicsPipeline()
314 context.depthCompareMode = depthStencilState->depthCompareOp; in GraphicsPipeline()
316 context.stencilEnable = context.twoSidedStencil = depthStencilState->stencilTestEnable; in GraphicsPipeline()
319 context.stencilMask = depthStencilState->front.compareMask; in GraphicsPipeline()
320 context.stencilCompareMode = depthStencilState->front.compareOp; in GraphicsPipeline()
321 context.stencilZFailOperation = depthStencilState->front.depthFailOp; in GraphicsPipeline()
322 context.stencilFailOperation = depthStencilState->front.failOp; in GraphicsPipeline()
323 context.stencilPassOperation = depthStencilState->front.passOp; in GraphicsPipeline()
324 context.stencilReference = depthStencilState->front.reference; in GraphicsPipeline()
325 context.stencilWriteMask = depthStencilState->front.writeMask; in GraphicsPipeline()
327 context.stencilMaskCCW = depthStencilState->back.compareMask; in GraphicsPipeline()
328 context.stencilCompareModeCCW = depthStencilState->back.compareOp; in GraphicsPipeline()
329 context.stencilZFailOperationCCW = depthStencilState->back.depthFailOp; in GraphicsPipeline()
330 context.stencilFailOperationCCW = depthStencilState->back.failOp; in GraphicsPipeline()
331 context.stencilPassOperationCCW = depthStencilState->back.passOp; in GraphicsPipeline()
332 context.stencilReferenceCCW = depthStencilState->back.reference; in GraphicsPipeline()
333 context.stencilWriteMaskCCW = depthStencilState->back.writeMask; in GraphicsPipeline()