Lines Matching refs:depthStencilState

279             VkPipelineDepthStencilStateCreateInfo depthStencilState;  in ComputeDepthStencilDesc()  local
280 depthStencilState.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; in ComputeDepthStencilDesc()
281 depthStencilState.pNext = nullptr; in ComputeDepthStencilDesc()
282 depthStencilState.flags = 0; in ComputeDepthStencilDesc()
285 depthStencilState.depthTestEnable = in ComputeDepthStencilDesc()
290 depthStencilState.depthWriteEnable = descriptor->depthWriteEnabled ? VK_TRUE : VK_FALSE; in ComputeDepthStencilDesc()
291 depthStencilState.depthCompareOp = ToVulkanCompareOp(descriptor->depthCompare); in ComputeDepthStencilDesc()
292 depthStencilState.depthBoundsTestEnable = false; in ComputeDepthStencilDesc()
293 depthStencilState.minDepthBounds = 0.0f; in ComputeDepthStencilDesc()
294 depthStencilState.maxDepthBounds = 1.0f; in ComputeDepthStencilDesc()
296 depthStencilState.stencilTestEnable = in ComputeDepthStencilDesc()
299 depthStencilState.front.failOp = VulkanStencilOp(descriptor->stencilFront.failOp); in ComputeDepthStencilDesc()
300 depthStencilState.front.passOp = VulkanStencilOp(descriptor->stencilFront.passOp); in ComputeDepthStencilDesc()
301 depthStencilState.front.depthFailOp = in ComputeDepthStencilDesc()
303 depthStencilState.front.compareOp = ToVulkanCompareOp(descriptor->stencilFront.compare); in ComputeDepthStencilDesc()
305 depthStencilState.back.failOp = VulkanStencilOp(descriptor->stencilBack.failOp); in ComputeDepthStencilDesc()
306 depthStencilState.back.passOp = VulkanStencilOp(descriptor->stencilBack.passOp); in ComputeDepthStencilDesc()
307 depthStencilState.back.depthFailOp = in ComputeDepthStencilDesc()
309 depthStencilState.back.compareOp = ToVulkanCompareOp(descriptor->stencilBack.compare); in ComputeDepthStencilDesc()
312 depthStencilState.front.compareMask = descriptor->stencilReadMask; in ComputeDepthStencilDesc()
313 depthStencilState.back.compareMask = descriptor->stencilReadMask; in ComputeDepthStencilDesc()
314 depthStencilState.front.writeMask = descriptor->stencilWriteMask; in ComputeDepthStencilDesc()
315 depthStencilState.back.writeMask = descriptor->stencilWriteMask; in ComputeDepthStencilDesc()
318 depthStencilState.front.reference = 0; in ComputeDepthStencilDesc()
319 depthStencilState.back.reference = 0; in ComputeDepthStencilDesc()
321 return depthStencilState; in ComputeDepthStencilDesc()
418 VkPipelineDepthStencilStateCreateInfo depthStencilState = in Initialize() local
496 createInfo.pDepthStencilState = &depthStencilState; in Initialize()