Searched refs:db_shader_control (Results 1 – 8 of 8) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_binning.c | 448 unsigned db_shader_control = sctx->ps_db_shader_control; in si_emit_dpbb_state() local 458 G_02880C_KILL_ENABLE(db_shader_control) || G_02880C_MASK_EXPORT_ENABLE(db_shader_control) || in si_emit_dpbb_state() 459 G_02880C_COVERAGE_TO_MASK_ENABLE(db_shader_control) || blend->alpha_to_coverage; in si_emit_dpbb_state() 461 bool db_can_reject_z_trivially = !G_02880C_Z_EXPORT_ENABLE(db_shader_control) || in si_emit_dpbb_state() 462 G_02880C_CONSERVATIVE_Z_EXPORT(db_shader_control) || in si_emit_dpbb_state() 463 G_02880C_DEPTH_BEFORE_SHADER(db_shader_control); in si_emit_dpbb_state()
|
D | si_state_shaders.c | 3019 sel->db_shader_control = S_02880C_Z_EXPORT_ENABLE(sel->info.writes_z) | in si_create_shader_selector() 3027 sel->db_shader_control |= S_02880C_CONSERVATIVE_Z_EXPORT(V_02880C_EXPORT_GREATER_THAN_Z); in si_create_shader_selector() 3030 sel->db_shader_control |= S_02880C_CONSERVATIVE_Z_EXPORT(V_02880C_EXPORT_LESS_THAN_Z); in si_create_shader_selector() 3055 sel->db_shader_control |= S_02880C_DEPTH_BEFORE_SHADER(1) | in si_create_shader_selector() 3060 … sel->db_shader_control |= S_02880C_Z_ORDER(V_02880C_LATE_Z) | S_02880C_EXEC_ON_HIER_FAIL(1); in si_create_shader_selector() 3063 sel->db_shader_control |= S_02880C_Z_ORDER(V_02880C_EARLY_Z_THEN_LATE_Z); in si_create_shader_selector() 3067 sel->db_shader_control |= S_02880C_PRE_SHADER_DEPTH_COVERAGE_ENABLE(1); in si_create_shader_selector() 3351 unsigned db_shader_control = sctx->shader.ps.cso->db_shader_control | in si_update_ps_kill_enable() local 3354 if (sctx->ps_db_shader_control != db_shader_control) { in si_update_ps_kill_enable() 3355 sctx->ps_db_shader_control = db_shader_control; in si_update_ps_kill_enable()
|
D | si_shader.h | 483 unsigned db_shader_control; member
|
D | si_state.c | 1453 unsigned db_shader_control, db_render_control, db_count_control; in si_emit_db_render_state() local 1505 db_shader_control = sctx->ps_db_shader_control; in si_emit_db_render_state() 1509 db_shader_control &= C_02880C_Z_ORDER; in si_emit_db_render_state() 1510 db_shader_control |= S_02880C_Z_ORDER(V_02880C_LATE_Z); in si_emit_db_render_state() 1515 db_shader_control &= C_02880C_MASK_EXPORT_ENABLE; in si_emit_db_render_state() 1518 db_shader_control |= S_02880C_DUAL_QUAD_DISABLE(1); in si_emit_db_render_state() 1521 db_shader_control); in si_emit_db_render_state() 1537 unsigned mode = sctx->screen->options.vrs2x2 && G_02880C_KILL_ENABLE(db_shader_control) ? in si_emit_db_render_state()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_state.c | 1654 radeon_set_context_reg(cs, R_02880C_DB_SHADER_CONTROL, a->db_shader_control); in r600_emit_db_misc_state() 2444 … i, exports_ps, num_cout, spi_ps_in_control_0, spi_input_z, spi_ps_in_control_1, db_shader_control; in r600_update_ps_state() local 2500 db_shader_control = 0; in r600_update_ps_state() 2510 db_shader_control |= S_02880C_Z_EXPORT_ENABLE(z_export); in r600_update_ps_state() 2511 db_shader_control |= S_02880C_STENCIL_REF_EXPORT_ENABLE(stencil_export); in r600_update_ps_state() 2512 db_shader_control |= S_02880C_MASK_EXPORT_ENABLE(mask_export); in r600_update_ps_state() 2514 db_shader_control |= S_02880C_KILL_ENABLE(1); in r600_update_ps_state() 2584 shader->db_shader_control = db_shader_control; in r600_update_ps_state() 2799 unsigned db_shader_control; in r600_update_db_shader_control() local 2809 db_shader_control = rctx->ps_shader->current->db_shader_control | in r600_update_db_shader_control() [all …]
|
D | r600_shader.h | 184 unsigned db_shader_control; member
|
D | evergreen_state.c | 2124 radeon_set_context_reg(cs, R_02880C_DB_SHADER_CONTROL, a->db_shader_control); in evergreen_emit_db_misc_state() 3325 …exports_ps, num_cout, spi_ps_in_control_0, spi_input_z, spi_ps_in_control_1, db_shader_control = 0; in evergreen_update_ps_state() local 3421 db_shader_control |= S_02880C_KILL_ENABLE(1); in evergreen_update_ps_state() 3423 db_shader_control |= S_02880C_Z_EXPORT_ENABLE(z_export); in evergreen_update_ps_state() 3424 db_shader_control |= S_02880C_STENCIL_EXPORT_ENABLE(stencil_export); in evergreen_update_ps_state() 3425 db_shader_control |= S_02880C_MASK_EXPORT_ENABLE(mask_export); in evergreen_update_ps_state() 3428 db_shader_control |= S_02880C_DEPTH_BEFORE_SHADER(1) | in evergreen_update_ps_state() 3431 db_shader_control |= S_02880C_EXEC_ON_HIER_FAIL(1); in evergreen_update_ps_state() 3437 db_shader_control |= S_02880C_CONSERVATIVE_Z_EXPORT(V_02880C_EXPORT_ANY_Z); in evergreen_update_ps_state() 3440 db_shader_control |= S_02880C_CONSERVATIVE_Z_EXPORT(V_02880C_EXPORT_GREATER_THAN_Z); in evergreen_update_ps_state() [all …]
|
D | r600_pipe.h | 145 unsigned db_shader_control; member
|