Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c724 if (rctx->ps_shader->current->shader.gs_prim_id_input && !rctx->gs_shader) { in r600_shader_selector_key()
726 …key.vs.prim_id_out = rctx->ps_shader->current->shader.input[rctx->ps_shader->current->shader.ps_pr… in r600_shader_selector_key()
914 rctx->ps_shader = (struct r600_pipe_shader_selector *)state; in r600_bind_ps_state()
993 if (rctx->ps_shader == sel) { in r600_delete_ps_state()
994 rctx->ps_shader = NULL; in r600_delete_ps_state()
1547 …if (unlikely(ps_dirty || rctx->hw_shader_stages[R600_HW_STAGE_PS].shader != rctx->ps_shader->curre… in r600_update_derived_state()
1548 rctx->rasterizer->sprite_coord_enable != rctx->ps_shader->current->sprite_coord_enable || in r600_update_derived_state()
1549 rctx->rasterizer->flatshade != rctx->ps_shader->current->flatshade)) { in r600_update_derived_state()
1551 if (rctx->cb_misc_state.nr_ps_color_outputs != rctx->ps_shader->current->nr_ps_color_outputs) { in r600_update_derived_state()
1552 rctx->cb_misc_state.nr_ps_color_outputs = rctx->ps_shader->current->nr_ps_color_outputs; in r600_update_derived_state()
[all …]
Dr600_state.c1994 num_gprs[R600_HW_STAGE_PS] = rctx->ps_shader->current->shader.bc.ngpr; in r600_adjust_gprs()
2760 if (!rctx->ps_shader) { in r600_update_db_shader_control()
2765 !rctx->ps_shader->current->ps_depth_export; in r600_update_db_shader_control()
2767 db_shader_control = rctx->ps_shader->current->db_shader_control | in r600_update_db_shader_control()
2770 ps_conservative_z = rctx->ps_shader->current->shader.ps_conservative_z; in r600_update_db_shader_control()
Dr600_pipe.h488 struct r600_pipe_shader_selector *ps_shader; member
Dr600_blit.c70 util_blitter_save_fragment_shader(rctx->blitter, rctx->ps_shader); in r600_blitter_begin()
Devergreen_state.c3300 if (!rctx->ps_shader) { in evergreen_update_db_shader_control()
3305 !rctx->ps_shader->current->ps_depth_export; in evergreen_update_db_shader_control()
3307 db_shader_control = rctx->ps_shader->current->db_shader_control | in evergreen_update_db_shader_control()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c868 struct si_shader_selector *ps = sctx->ps_shader.cso; in si_shader_selector_key_hw_vs()
946 if (sctx->ps_shader.cso && sctx->ps_shader.cso->info.uses_primid) in si_shader_selector_key()
963 if (sctx->ps_shader.cso && sctx->ps_shader.cso->info.uses_primid) in si_shader_selector_key()
1737 if (sctx->ps_shader.cso == sel) in si_bind_ps_shader()
1740 sctx->ps_shader.cso = sel; in si_bind_ps_shader()
1741 sctx->ps_shader.current = sel ? sel->first_variant : NULL; in si_bind_ps_shader()
1798 [PIPE_SHADER_FRAGMENT] = &sctx->ps_shader, in si_delete_shader_selector()
1886 struct si_shader *ps = sctx->ps_shader.current; in si_emit_spi_map()
2121 bytes = MAX2(bytes, si_get_scratch_buffer_bytes_per_wave(sctx->ps_shader.current)); in si_get_max_scratch_bytes_per_wave()
2158 r = si_update_scratch_buffer(sctx, sctx->ps_shader.current); in si_update_spi_tmpring_size()
[all …]
Dsi_debug.c487 si_dump_shader(sctx->screen, &sctx->ps_shader, f); in si_dump_debug_state()
495 si_dump_descriptors(sctx, &sctx->ps_shader, f); in si_dump_debug_state()
Dsi_pipe.h255 struct si_shader_ctx_state ps_shader; member
Dsi_state.c112 sctx->ps_shader.cso && in si_emit_cb_render_state()
113 (sctx->ps_shader.cso->info.colors_written & 0x3) != 0x3) in si_emit_cb_render_state()
121 sctx->ps_shader.cso ? in si_emit_cb_render_state()
122 sctx->ps_shader.current->key.part.ps.epilog.spi_shader_col_format : 0; in si_emit_cb_render_state()
Dsi_state_draw.c1025 if (unlikely(!sctx->ps_shader.cso && (!rs || !rs->rasterizer_discard))) { in si_draw_vbo()
Dsi_blit.c69 util_blitter_save_fragment_shader(sctx->blitter, sctx->ps_shader.cso); in si_blitter_begin()