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.c735 value = rctx->ps_shader->info.file_count[TGSI_FILE_HW_ATOMIC]; in r600_get_hw_atomic_count()
738 value = rctx->ps_shader->info.file_count[TGSI_FILE_HW_ATOMIC] + in r600_get_hw_atomic_count()
742 value = rctx->ps_shader->info.file_count[TGSI_FILE_HW_ATOMIC] + in r600_get_hw_atomic_count()
747 value = rctx->ps_shader->info.file_count[TGSI_FILE_HW_ATOMIC] + in r600_get_hw_atomic_count()
790 if (rctx->ps_shader->current->shader.gs_prim_id_input && !rctx->gs_shader) { in r600_shader_selector_key()
792 …key->vs.prim_id_out = rctx->ps_shader->current->shader.input[rctx->ps_shader->current->shader.ps_p… in r600_shader_selector_key()
802 if (rctx->ps_shader->info.images_declared) in r600_shader_selector_key()
996 rctx->ps_shader = (struct r600_pipe_shader_selector *)state; in r600_bind_ps_state()
1081 if (rctx->ps_shader == sel) { in r600_delete_ps_state()
1082 rctx->ps_shader = NULL; in r600_delete_ps_state()
[all …]
Dr600_state.c2017 num_gprs[R600_HW_STAGE_PS] = rctx->ps_shader->current->shader.bc.ngpr; in r600_adjust_gprs()
2792 if (!rctx->ps_shader) { in r600_update_db_shader_control()
2797 !rctx->ps_shader->current->ps_depth_export; in r600_update_db_shader_control()
2799 db_shader_control = rctx->ps_shader->current->db_shader_control | in r600_update_db_shader_control()
2802 ps_conservative_z = rctx->ps_shader->current->shader.ps_conservative_z; in r600_update_db_shader_control()
Dr600_pipe.h556 struct r600_pipe_shader_selector *ps_shader; member
Dr600_blit.c75 util_blitter_save_fragment_shader(rctx->blitter, rctx->ps_shader); in r600_blitter_begin()
Devergreen_state.c3642 if (!rctx->ps_shader) { in evergreen_update_db_shader_control()
3647 !rctx->ps_shader->current->ps_depth_export; in evergreen_update_db_shader_control()
3649 db_shader_control = rctx->ps_shader->current->db_shader_control | in evergreen_update_db_shader_control()
3667 if (rctx->alphatest_state.sx_alpha_test_control || rctx->ps_shader->info.writes_memory) { in evergreen_update_db_shader_control()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c1160 struct si_shader_selector *ps = sctx->ps_shader.cso; in si_shader_selector_key_hw_vs()
1228 if (sctx->ps_shader.cso && sctx->ps_shader.cso->info.uses_primid) in si_shader_selector_key()
1269 if (sctx->ps_shader.cso && sctx->ps_shader.cso->info.uses_primid) in si_shader_selector_key()
2279 si_shader_uses_bindless_samplers(sctx->ps_shader.cso) || in si_update_common_shader_state()
2285 si_shader_uses_bindless_images(sctx->ps_shader.cso) || in si_update_common_shader_state()
2322 (sctx->ps_shader.cso && !sctx->gs_shader.cso && in si_update_tess_uses_prim_id()
2323 sctx->ps_shader.cso->info.uses_primid); in si_update_tess_uses_prim_id()
2410 struct si_shader_selector *old_sel = sctx->ps_shader.cso; in si_bind_ps_shader()
2417 sctx->ps_shader.cso = sel; in si_bind_ps_shader()
2418 sctx->ps_shader.current = sel ? sel->first_variant : NULL; in si_bind_ps_shader()
[all …]
Dsi_debug.c933 si_print_annotated_shader(sctx->ps_shader.current, waves, num_waves, f); in si_dump_annotated_shaders()
1001 si_dump_gfx_shader(sctx, &sctx->ps_shader, log); in si_log_draw_state()
1011 si_dump_gfx_descriptors(sctx, &sctx->ps_shader, log); in si_log_draw_state()
Dsi_state.c106 sctx->ps_shader.cso && in si_emit_cb_render_state()
107 (sctx->ps_shader.cso->info.colors_written & 0x3) != 0x3) in si_emit_cb_render_state()
143 sctx->ps_shader.cso ? in si_emit_cb_render_state()
144 sctx->ps_shader.current->key.part.ps.epilog.spi_shader_col_format : 0; in si_emit_cb_render_state()
3286 if (sctx->ps_shader.cso && in si_out_of_order_rasterization()
3287 sctx->ps_shader.cso->info.writes_memory && in si_out_of_order_rasterization()
3288 sctx->ps_shader.cso->info.properties[TGSI_PROPERTY_FS_EARLY_DEPTH_STENCIL] && in si_out_of_order_rasterization()
Dsi_pipe.h484 struct si_shader_ctx_state ps_shader; member
Dsi_blit.c59 util_blitter_save_fragment_shader(sctx->blitter, sctx->ps_shader.cso); in si_blitter_begin()
Dsi_state_draw.c1238 if (unlikely(!sctx->ps_shader.cso && (!rs || !rs->rasterizer_discard))) { in si_draw_vbo()