Home
last modified time | relevance | path

Searched refs:db_shader_control (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_binning.c343 unsigned db_shader_control = sctx->ps_db_shader_control; in si_emit_dpbb_state() local
352 bool ps_can_kill = G_02880C_KILL_ENABLE(db_shader_control) || in si_emit_dpbb_state()
353 G_02880C_MASK_EXPORT_ENABLE(db_shader_control) || in si_emit_dpbb_state()
354 G_02880C_COVERAGE_TO_MASK_ENABLE(db_shader_control) || in si_emit_dpbb_state()
361 !G_02880C_Z_EXPORT_ENABLE(db_shader_control) || in si_emit_dpbb_state()
362 G_02880C_CONSERVATIVE_Z_EXPORT(db_shader_control); in si_emit_dpbb_state()
400 !G_02880C_KILL_ENABLE(db_shader_control) && in si_emit_dpbb_state()
402 !G_02880C_EXEC_ON_HIER_FAIL(db_shader_control) && in si_emit_dpbb_state()
403 !G_02880C_EXEC_ON_NOOP(db_shader_control) && in si_emit_dpbb_state()
404 G_02880C_Z_ORDER(db_shader_control) == V_02880C_EARLY_Z_THEN_LATE_Z) { in si_emit_dpbb_state()
Dsi_state_shaders.c2166 sel->db_shader_control = in si_create_shader_selector()
2174 sel->db_shader_control |= in si_create_shader_selector()
2178 sel->db_shader_control |= in si_create_shader_selector()
2203 sel->db_shader_control |= S_02880C_DEPTH_BEFORE_SHADER(1) | in si_create_shader_selector()
2208 sel->db_shader_control |= S_02880C_Z_ORDER(V_02880C_LATE_Z) | in si_create_shader_selector()
2212 sel->db_shader_control |= S_02880C_Z_ORDER(V_02880C_EARLY_Z_THEN_LATE_Z); in si_create_shader_selector()
3297 unsigned db_shader_control; in si_update_shaders() local
3304 db_shader_control = in si_update_shaders()
3305 sctx->ps_shader.cso->db_shader_control | in si_update_shaders()
3323 if (sctx->ps_db_shader_control != db_shader_control) { in si_update_shaders()
[all …]
Dsi_shader.h359 unsigned db_shader_control; member
Dsi_state.c1378 unsigned db_shader_control; in si_emit_db_render_state() local
1432 db_shader_control = sctx->ps_db_shader_control; in si_emit_db_render_state()
1436 db_shader_control &= C_02880C_Z_ORDER; in si_emit_db_render_state()
1437 db_shader_control |= S_02880C_Z_ORDER(V_02880C_LATE_Z); in si_emit_db_render_state()
1442 db_shader_control &= C_02880C_MASK_EXPORT_ENABLE; in si_emit_db_render_state()
1446 db_shader_control |= S_02880C_DUAL_QUAD_DISABLE(1); in si_emit_db_render_state()
1449 db_shader_control); in si_emit_db_render_state()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c1645 radeon_set_context_reg(cs, R_02880C_DB_SHADER_CONTROL, a->db_shader_control); in r600_emit_db_misc_state()
2436 … 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
2491 db_shader_control = 0; in r600_update_ps_state()
2501 db_shader_control |= S_02880C_Z_EXPORT_ENABLE(z_export); in r600_update_ps_state()
2502 db_shader_control |= S_02880C_STENCIL_REF_EXPORT_ENABLE(stencil_export); in r600_update_ps_state()
2503 db_shader_control |= S_02880C_MASK_EXPORT_ENABLE(mask_export); in r600_update_ps_state()
2505 db_shader_control |= S_02880C_KILL_ENABLE(1); in r600_update_ps_state()
2574 shader->db_shader_control = db_shader_control; in r600_update_ps_state()
2789 unsigned db_shader_control; in r600_update_db_shader_control() local
2799 db_shader_control = rctx->ps_shader->current->db_shader_control | in r600_update_db_shader_control()
[all …]
Dr600_shader.h175 unsigned db_shader_control; member
Devergreen_state.c2109 radeon_set_context_reg(cs, R_02880C_DB_SHADER_CONTROL, a->db_shader_control); in evergreen_emit_db_misc_state()
3243 …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
3332 db_shader_control |= S_02880C_KILL_ENABLE(1); in evergreen_update_ps_state()
3334 db_shader_control |= S_02880C_Z_EXPORT_ENABLE(z_export); in evergreen_update_ps_state()
3335 db_shader_control |= S_02880C_STENCIL_EXPORT_ENABLE(stencil_export); in evergreen_update_ps_state()
3336 db_shader_control |= S_02880C_MASK_EXPORT_ENABLE(mask_export); in evergreen_update_ps_state()
3339 db_shader_control |= S_02880C_DEPTH_BEFORE_SHADER(1) | in evergreen_update_ps_state()
3342 db_shader_control |= S_02880C_EXEC_ON_HIER_FAIL(1); in evergreen_update_ps_state()
3348 db_shader_control |= S_02880C_CONSERVATIVE_Z_EXPORT(V_02880C_EXPORT_ANY_Z); in evergreen_update_ps_state()
3351 db_shader_control |= S_02880C_CONSERVATIVE_Z_EXPORT(V_02880C_EXPORT_GREATER_THAN_Z); in evergreen_update_ps_state()
[all …]
Dr600_pipe.h144 unsigned db_shader_control; member
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c2503 pipeline->graphics.db_shader_control = 0; in radv_pipeline_init()
2509 pipeline->graphics.db_shader_control = in radv_pipeline_init()
2520 pipeline->graphics.db_shader_control |= S_02880C_DUAL_QUAD_DISABLE(1); in radv_pipeline_init()
Dradv_private.h1246 uint32_t db_shader_control; member
Dradv_cmd_buffer.c1006 pipeline->graphics.db_shader_control); in radv_emit_fragment_shader()