Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c747 value = rctx->ps_shader->info.file_count[TGSI_FILE_HW_ATOMIC]; in r600_get_hw_atomic_count()
750 value = rctx->ps_shader->info.file_count[TGSI_FILE_HW_ATOMIC] + in r600_get_hw_atomic_count()
754 value = rctx->ps_shader->info.file_count[TGSI_FILE_HW_ATOMIC] + in r600_get_hw_atomic_count()
759 value = rctx->ps_shader->info.file_count[TGSI_FILE_HW_ATOMIC] + in r600_get_hw_atomic_count()
802 if (rctx->ps_shader->current->shader.gs_prim_id_input && !rctx->gs_shader) { in r600_shader_selector_key()
804 …key->vs.prim_id_out = rctx->ps_shader->current->shader.input[rctx->ps_shader->current->shader.ps_p… in r600_shader_selector_key()
814 if (rctx->ps_shader->info.images_declared) in r600_shader_selector_key()
1024 rctx->ps_shader = (struct r600_pipe_shader_selector *)state; in r600_bind_ps_state()
1122 if (rctx->ps_shader == sel) { in r600_delete_ps_state()
1123 rctx->ps_shader = NULL; in r600_delete_ps_state()
[all …]
Dr600_state.c2020 num_gprs[R600_HW_STAGE_PS] = rctx->ps_shader->current->shader.bc.ngpr; in r600_adjust_gprs()
2797 if (!rctx->ps_shader) { in r600_update_db_shader_control()
2802 !rctx->ps_shader->current->ps_depth_export; in r600_update_db_shader_control()
2804 db_shader_control = rctx->ps_shader->current->db_shader_control | in r600_update_db_shader_control()
2807 ps_conservative_z = rctx->ps_shader->current->shader.ps_conservative_z; in r600_update_db_shader_control()
Dr600_pipe.h567 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.c3727 if (!rctx->ps_shader) { in evergreen_update_db_shader_control()
3732 !rctx->ps_shader->current->ps_depth_export; in evergreen_update_db_shader_control()
3734 db_shader_control = rctx->ps_shader->current->db_shader_control | in evergreen_update_db_shader_control()
3752 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.c1783 struct si_shader_selector *ps = sctx->ps_shader.cso; in si_shader_selector_key_hw_vs()
1820 if (sctx->ps_shader.cso && sctx->ps_shader.cso->info.uses_primid) in si_shader_selector_key_hw_vs()
2956 si_shader_uses_bindless_samplers(sctx->ps_shader.cso) || in si_update_common_shader_state()
2961 si_shader_uses_bindless_images(sctx->ps_shader.cso) || in si_update_common_shader_state()
3006 (sctx->ps_shader.cso && !sctx->gs_shader.cso && sctx->ps_shader.cso->info.uses_primid); in si_update_tess_uses_prim_id()
3131 struct si_shader_selector *old_sel = sctx->ps_shader.cso; in si_bind_ps_shader()
3138 sctx->ps_shader.cso = sel; in si_bind_ps_shader()
3139 sctx->ps_shader.current = sel ? sel->first_variant : NULL; in si_bind_ps_shader()
3227 [MESA_SHADER_FRAGMENT] = &sctx->ps_shader, in si_destroy_shader_selector()
3327 struct si_shader *ps = sctx->ps_shader.current; in si_emit_spi_map()
[all …]
Dsi_debug.c1021 si_print_annotated_shader(sctx->ps_shader.current, waves, num_waves, f); in si_dump_annotated_shaders()
1092 si_dump_gfx_shader(sctx, &sctx->ps_shader, log); in si_log_draw_state()
1101 si_dump_gfx_descriptors(sctx, &sctx->ps_shader, log); in si_log_draw_state()
Dsi_pipe.h1033 struct si_shader_ctx_state ps_shader; member
1793 struct si_shader_selector *ps = sctx->ps_shader.cso; in si_get_total_colormask()
Dsi_state.c84 if (blend->dual_src_blend && sctx->ps_shader.cso && in si_emit_cb_render_state()
85 (sctx->ps_shader.cso->info.colors_written & 0x3) != 0x3) in si_emit_cb_render_state()
122 sctx->ps_shader.cso ? sctx->ps_shader.current->key.part.ps.epilog.spi_shader_col_format in si_emit_cb_render_state()
3334 if (sctx->ps_shader.cso && sctx->ps_shader.cso->info.base.writes_memory && in si_out_of_order_rasterization()
3335 sctx->ps_shader.cso->info.base.fs.early_fragment_tests && in si_out_of_order_rasterization()
Dsi_descriptors.c866 if (sctx->ps_shader.cso && sctx->ps_shader.cso->info.base.fs.uses_fbfetch_output && in si_update_ps_colorbuf0_slot()
2719 [PIPE_SHADER_FRAGMENT] = &sctx->ps_shader, in si_gfx_resources_check_encrypted()
Dsi_state_draw.c1784 (!sctx->ps_shader.cso && !rs->rasterizer_discard) || in si_multi_draw_vbo()
1985 (!sctx->ps_shader.cso->info.uses_primid || pd_msg("PS uses PrimID")) && in si_multi_draw_vbo()
Dsi_blit.c58 util_blitter_save_fragment_shader(sctx->blitter, sctx->ps_shader.cso); in si_blitter_begin()
Dsi_compute_prim_discard.c864 struct si_shader_selector *ps = sctx->ps_shader.cso; in si_shader_select_prim_discard_cs()
/external/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/
Dmachine-function-info.ll45 ; CHECK-LABEL: {{^}}name: ps_shader
72 define amdgpu_ps void @ps_shader(i32 %arg0, i32 inreg %arg1) {