Home
last modified time | relevance | path

Searched refs:ps_shader (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c776 if (rctx->chip_class < EVERGREEN && rctx->ps_shader && rctx->vs_shader) { in r600_shader_select()
780 if (rctx->ps_shader && in r600_shader_select()
781 rctx->cb_misc_state.nr_ps_color_outputs != rctx->ps_shader->current->nr_ps_color_outputs) { in r600_shader_select()
782 rctx->cb_misc_state.nr_ps_color_outputs = rctx->ps_shader->current->nr_ps_color_outputs; in r600_shader_select()
825 rctx->ps_shader = (struct r600_pipe_shader_selector *)state; in r600_bind_ps_shader()
826 r600_context_pipe_state_set(rctx, &rctx->ps_shader->current->rstate); in r600_bind_ps_shader()
828 r600_context_add_resource_size(ctx, (struct pipe_resource *)rctx->ps_shader->current->bo); in r600_bind_ps_shader()
831 bool multiwrite = rctx->ps_shader->current->shader.fs_write_all; in r600_bind_ps_shader()
842 if (rctx->cb_misc_state.nr_ps_color_outputs != rctx->ps_shader->current->nr_ps_color_outputs) { in r600_bind_ps_shader()
843 rctx->cb_misc_state.nr_ps_color_outputs = rctx->ps_shader->current->nr_ps_color_outputs; in r600_bind_ps_shader()
[all …]
Dr600_state.c2112 if (rctx->ps_shader->current->shader.bc.ngpr > rctx->default_ps_gprs) in r600_adjust_gprs()
2114 diff = rctx->ps_shader->current->shader.bc.ngpr - rctx->default_ps_gprs; in r600_adjust_gprs()
2717 !rctx->ps_shader->current->ps_depth_export; in r600_update_dual_export_state()
2718 unsigned db_shader_control = rctx->ps_shader->current->db_shader_control | in r600_update_dual_export_state()
Dr600_pipe.h349 struct r600_pipe_shader_selector *ps_shader; member
Dr600_blit.c68 util_blitter_save_fragment_shader(rctx->blitter, rctx->ps_shader); in r600_blitter_begin()
Devergreen_state.c3213 !rctx->ps_shader->current->ps_depth_export; in evergreen_update_dual_export_state()
3218 unsigned db_shader_control = rctx->ps_shader->current->db_shader_control | in evergreen_update_dual_export_state()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c317 struct si_shader *ps = &rctx->ps_shader->current->shader; in si_update_spi_map()
369 si_shader_select(ctx, rctx->ps_shader, &ps_dirty); in si_update_derived_state()
379 if (!rctx->ps_shader->current->pm4) { in si_update_derived_state()
380 si_pipe_shader_ps(ctx, rctx->ps_shader->current); in si_update_derived_state()
383 if (!rctx->ps_shader->current->bo) { in si_update_derived_state()
393 si_pm4_bind_state(rctx, ps, rctx->ps_shader->current->pm4); in si_update_derived_state()
525 if (!rctx->ps_shader || !rctx->vs_shader) in si_draw_vbo()
Dradeonsi_pipe.h129 struct si_pipe_shader_selector *ps_shader; member
Dsi_state.c1926 if (rctx->ps_shader == sel) in si_bind_ps_shader()
1930 rctx->ps_shader = sel; in si_bind_ps_shader()
1973 if (rctx->ps_shader == sel) { in si_delete_ps_shader()
1974 rctx->ps_shader = NULL; in si_delete_ps_shader()
Dr600_blit.c55 util_blitter_save_fragment_shader(rctx->blitter, rctx->ps_shader); in r600_blitter_begin()