Lines Matching refs:stencilInfo

224                                       VkPipelineDepthStencilStateCreateInfo* stencilInfo) {  in setup_depth_stencil_state()  argument
225 memset(stencilInfo, 0, sizeof(VkPipelineDepthStencilStateCreateInfo)); in setup_depth_stencil_state()
226 stencilInfo->sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; in setup_depth_stencil_state()
227 stencilInfo->pNext = nullptr; in setup_depth_stencil_state()
228 stencilInfo->flags = 0; in setup_depth_stencil_state()
230 stencilInfo->depthTestEnable = VK_FALSE; in setup_depth_stencil_state()
231 stencilInfo->depthWriteEnable = VK_FALSE; in setup_depth_stencil_state()
232 stencilInfo->depthCompareOp = VK_COMPARE_OP_ALWAYS; in setup_depth_stencil_state()
233 stencilInfo->depthBoundsTestEnable = VK_FALSE; in setup_depth_stencil_state()
234 stencilInfo->stencilTestEnable = !stencilSettings.isDisabled(); in setup_depth_stencil_state()
238 stencilInfo->front.failOp = stencil_op_to_vk_stencil_op(front.fFailOp); in setup_depth_stencil_state()
239 stencilInfo->front.passOp = stencil_op_to_vk_stencil_op(front.fPassOp); in setup_depth_stencil_state()
240 stencilInfo->front.depthFailOp = stencilInfo->front.failOp; in setup_depth_stencil_state()
241 stencilInfo->front.compareOp = stencil_func_to_vk_compare_op(front.fTest); in setup_depth_stencil_state()
242 stencilInfo->front.compareMask = front.fTestMask; in setup_depth_stencil_state()
243 stencilInfo->front.writeMask = front.fWriteMask; in setup_depth_stencil_state()
244 stencilInfo->front.reference = front.fRef; in setup_depth_stencil_state()
248 stencilInfo->back = stencilInfo->front; in setup_depth_stencil_state()
251 stencilInfo->back.failOp = stencil_op_to_vk_stencil_op(back.fFailOp); in setup_depth_stencil_state()
252 stencilInfo->back.passOp = stencil_op_to_vk_stencil_op(back.fPassOp); in setup_depth_stencil_state()
253 stencilInfo->back.depthFailOp = stencilInfo->front.failOp; in setup_depth_stencil_state()
254 stencilInfo->back.compareOp = stencil_func_to_vk_compare_op(back.fTest); in setup_depth_stencil_state()
255 stencilInfo->back.compareMask = back.fTestMask; in setup_depth_stencil_state()
256 stencilInfo->back.writeMask = back.fWriteMask; in setup_depth_stencil_state()
257 stencilInfo->back.reference = back.fRef; in setup_depth_stencil_state()
260 stencilInfo->minDepthBounds = 0.0f; in setup_depth_stencil_state()
261 stencilInfo->maxDepthBounds = 1.0f; in setup_depth_stencil_state()