Home
last modified time | relevance | path

Searched refs:si_translate_stencil_op (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c669 static uint32_t si_translate_stencil_op(enum VkStencilOp op) in si_translate_stencil_op() function
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()
724 ds->db_stencil_control |= S_02842C_STENCILZFAIL(si_translate_stencil_op(vkds->front.depthFailOp)); in radv_pipeline_init_depth_stencil_state()
727 ds->db_stencil_control |= S_02842C_STENCILFAIL_BF(si_translate_stencil_op(vkds->back.failOp)); in radv_pipeline_init_depth_stencil_state()
728 ds->db_stencil_control |= S_02842C_STENCILZPASS_BF(si_translate_stencil_op(vkds->back.passOp)); in radv_pipeline_init_depth_stencil_state()
729 …ds->db_stencil_control |= S_02842C_STENCILZFAIL_BF(si_translate_stencil_op(vkds->back.depthFailOp)… in radv_pipeline_init_depth_stencil_state()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c1115 static uint32_t si_translate_stencil_op(int s_op) in si_translate_stencil_op() function
1201 db_stencil_control |= S_02842C_STENCILFAIL(si_translate_stencil_op(state->stencil[0].fail_op)); in si_create_dsa_state()
1202 db_stencil_control |= S_02842C_STENCILZPASS(si_translate_stencil_op(state->stencil[0].zpass_op)); in si_create_dsa_state()
1203 db_stencil_control |= S_02842C_STENCILZFAIL(si_translate_stencil_op(state->stencil[0].zfail_op)); in si_create_dsa_state()
1208 … db_stencil_control |= S_02842C_STENCILFAIL_BF(si_translate_stencil_op(state->stencil[1].fail_op)); in si_create_dsa_state()
1209 …db_stencil_control |= S_02842C_STENCILZPASS_BF(si_translate_stencil_op(state->stencil[1].zpass_op)… in si_create_dsa_state()
1210 …db_stencil_control |= S_02842C_STENCILZFAIL_BF(si_translate_stencil_op(state->stencil[1].zfail_op)… in si_create_dsa_state()