Home
last modified time | relevance | path

Searched refs:db_stencil_control (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c722 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()
Dradv_private.h1138 uint32_t db_stencil_control; member
Dradv_cmd_buffer.c548 radeon_set_context_reg(cmd_buffer->cs, R_02842C_DB_STENCIL_CONTROL, ds->db_stencil_control); in radv_emit_graphics_depth_stencil_state()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c1181 uint32_t db_stencil_control = 0; in si_create_dsa_state() local
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()
1208db_stencil_control |= S_02842C_STENCILFAIL_BF(si_translate_stencil_op(state->stencil[1].fail_op)); in si_create_dsa_state()
1209db_stencil_control |= S_02842C_STENCILZPASS_BF(si_translate_stencil_op(state->stencil[1].zpass_op)… in si_create_dsa_state()
1210db_stencil_control |= S_02842C_STENCILZFAIL_BF(si_translate_stencil_op(state->stencil[1].zfail_op)… in si_create_dsa_state()
1226 si_pm4_set_reg(pm4, R_02842C_DB_STENCIL_CONTROL, db_stencil_control); in si_create_dsa_state()