Home
last modified time | relevance | path

Searched refs:vs_shader (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c1866 si_shader_selector_key_vs(sctx, sctx->vs_shader.cso, key, &key->part.tcs.ls_prolog); in si_shader_selector_key()
1867 key->part.tcs.ls = sctx->vs_shader.cso; in si_shader_selector_key()
1891 key->mono.u.ff_tcs_inputs_to_copy = sctx->vs_shader.cso->outputs_written; in si_shader_selector_key()
1907 si_shader_selector_key_vs(sctx, sctx->vs_shader.cso, key, &key->part.gs.vs_prolog); in si_shader_selector_key()
1908 key->part.gs.es = sctx->vs_shader.cso; in si_shader_selector_key()
2954 sctx->uses_bindless_samplers = si_shader_uses_bindless_samplers(sctx->vs_shader.cso) || in si_update_common_shader_state()
2959 sctx->uses_bindless_images = si_shader_uses_bindless_images(sctx->vs_shader.cso) || in si_update_common_shader_state()
2983 if (sctx->vs_shader.cso == sel) in si_bind_vs_shader()
2986 sctx->vs_shader.cso = sel; in si_bind_vs_shader()
2987 sctx->vs_shader.current = sel ? sel->first_variant : NULL; in si_bind_vs_shader()
[all …]
Dsi_state_draw.c99 ls_current = sctx->vs_shader.current; in si_emit_derived_tess_state()
100 ls = sctx->vs_shader.cso; in si_emit_derived_tess_state()
1709 struct si_shader_selector *vs = sctx->vs_shader.cso; in si_all_vs_resources_read_only()
1782 struct si_shader_selector *vs = sctx->vs_shader.cso; in si_multi_draw_vbo()
1976 (info->drawid == 0 || !sctx->vs_shader.cso->info.uses_drawid || pd_msg("draw_id > 0")) && in si_multi_draw_vbo()
1988 (!sctx->vs_shader.cso->info.uses_bindless_images || pd_msg("uses bindless images")) && in si_multi_draw_vbo()
1989 (!sctx->vs_shader.cso->info.uses_bindless_samplers || pd_msg("uses bindless samplers")) && in si_multi_draw_vbo()
1990 (!sctx->vs_shader.cso->info.writes_memory || pd_msg("writes memory")) && in si_multi_draw_vbo()
1991 (!sctx->vs_shader.cso->info.writes_viewport_index || pd_msg("writes viewport index")) && in si_multi_draw_vbo()
1992 !sctx->vs_shader.cso->info.base.vs.window_space_position && in si_multi_draw_vbo()
[all …]
Dsi_debug.c1017 si_print_annotated_shader(sctx->vs_shader.current, waves, num_waves, f); in si_dump_annotated_shaders()
1088 si_dump_gfx_shader(sctx, &sctx->vs_shader, log); in si_log_draw_state()
1097 si_dump_gfx_descriptors(sctx, &sctx->vs_shader, log); in si_log_draw_state()
Dsi_pipe.h1035 struct si_shader_ctx_state vs_shader; member
1659 return &sctx->vs_shader; in si_get_vs()
Dsi_compute_prim_discard.c849 si_shader_selector_key_vs(sctx, sctx->vs_shader.cso, &key, &key.part.vs.prolog); in si_shader_select_prim_discard_cs()
886 sctx->cs_prim_discard_state.cso = sctx->vs_shader.cso; in si_shader_select_prim_discard_cs()
Dsi_blit.c46 util_blitter_save_vertex_shader(sctx->blitter, sctx->vs_shader.cso); in si_blitter_begin()
Dsi_descriptors.c2715 [PIPE_SHADER_VERTEX] = &sctx->vs_shader, in si_gfx_resources_check_encrypted()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c751 rctx->vs_shader->info.file_count[TGSI_FILE_HW_ATOMIC]; in r600_get_hw_atomic_count()
755 rctx->vs_shader->info.file_count[TGSI_FILE_HW_ATOMIC] + in r600_get_hw_atomic_count()
760 rctx->vs_shader->info.file_count[TGSI_FILE_HW_ATOMIC] + in r600_get_hw_atomic_count()
1033 else if (rctx->vs_shader) in r600_get_vs_info()
1034 return &rctx->vs_shader->info; in r600_get_vs_info()
1043 if (!state || rctx->vs_shader == state) in r600_bind_vs_state()
1046 rctx->vs_shader = (struct r600_pipe_shader_selector *)state; in r600_bind_vs_state()
1049 if (rctx->vs_shader->so.num_outputs) in r600_bind_vs_state()
1050 rctx->b.streamout.stride_in_dw = rctx->vs_shader->so.stride; in r600_bind_vs_state()
1134 if (rctx->vs_shader == sel) { in r600_delete_vs_state()
[all …]
Dr600_pipe.h568 struct r600_pipe_shader_selector *vs_shader; member
Devergreen_state.c2245 if (rctx->vs_shader->current->shader.vs_as_ls) { in evergreen_emit_vs_constant_buffers()
2369 if (rctx->vs_shader->current->shader.vs_as_ls) { in evergreen_emit_vs_sampler_views()
2484 if (rctx->vs_shader->current->shader.vs_as_ls) { in evergreen_emit_vs_sampler_states()
2570 if (rctx->vs_shader->current->shader.vs_as_gs_a) { in evergreen_emit_shader_stages()
4509 struct r600_pipe_shader_selector *ls = rctx->vs_shader; in evergreen_setup_tess_constants()
Dr600_state.c1929 if (rctx->vs_shader->current->shader.vs_as_gs_a) { in r600_emit_shader_stages()
2022 num_gprs[R600_HW_STAGE_ES] = rctx->vs_shader->current->shader.bc.ngpr; in r600_adjust_gprs()
2028 num_gprs[R600_HW_STAGE_VS] = rctx->vs_shader->current->shader.bc.ngpr; in r600_adjust_gprs()
Dr600_blit.c64 util_blitter_save_vertex_shader(rctx->blitter, rctx->vs_shader); in r600_blitter_begin()
/external/mesa3d/src/gallium/frontends/nine/
Ddevice9.c3327 struct NineVertexShader9 *vs_shader = (struct NineVertexShader9*)pShader; in NineDevice9_SetVertexShader() local
3332 nine_bind(&state->vs, vs_shader); in NineDevice9_SetVertexShader()
3337 if (state->vs == vs_shader) in NineDevice9_SetVertexShader()
3340 nine_bind(&state->vs, vs_shader); in NineDevice9_SetVertexShader()
3342 nine_context_set_vertex_shader(This, vs_shader); in NineDevice9_SetVertexShader()