Searched refs:vkds (Results 1 – 1 of 1) sorted by relevance
697 const VkPipelineDepthStencilStateCreateInfo *vkds = pCreateInfo->pDepthStencilState; in radv_pipeline_init_depth_stencil_state() local700 if (!vkds) in radv_pipeline_init_depth_stencil_state()713 ds->db_depth_control = S_028800_Z_ENABLE(vkds->depthTestEnable ? 1 : 0) | in radv_pipeline_init_depth_stencil_state()714 S_028800_Z_WRITE_ENABLE(vkds->depthWriteEnable ? 1 : 0) | in radv_pipeline_init_depth_stencil_state()715 S_028800_ZFUNC(vkds->depthCompareOp) | in radv_pipeline_init_depth_stencil_state()716 S_028800_DEPTH_BOUNDS_ENABLE(vkds->depthBoundsTestEnable ? 1 : 0); in radv_pipeline_init_depth_stencil_state()719 if (has_stencil_attachment && vkds->stencilTestEnable) { in radv_pipeline_init_depth_stencil_state()721 ds->db_depth_control |= S_028800_STENCILFUNC(vkds->front.compareOp); in radv_pipeline_init_depth_stencil_state()722 ds->db_stencil_control |= S_02842C_STENCILFAIL(si_translate_stencil_op(vkds->front.failOp)); in radv_pipeline_init_depth_stencil_state()723 ds->db_stencil_control |= S_02842C_STENCILZPASS(si_translate_stencil_op(vkds->front.passOp)); in radv_pipeline_init_depth_stencil_state()[all …]