Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_pipe.h256 struct si_shader_ctx_state gs_shader; member
462 if (sctx->gs_shader.cso) in si_get_vs_info()
463 return &sctx->gs_shader.cso->info; in si_get_vs_info()
474 if (sctx->gs_shader.current) in si_get_vs_state()
475 return sctx->gs_shader.cso->gs_copy_shader; in si_get_vs_state()
Dsi_state_shaders.c941 else if (sctx->gs_shader.cso) in si_shader_selector_key()
958 if (sctx->gs_shader.cso) in si_shader_selector_key()
1676 bool enable_changed = !!sctx->gs_shader.cso != !!sel; in si_bind_gs_shader()
1678 if (sctx->gs_shader.cso == sel) in si_bind_gs_shader()
1681 sctx->gs_shader.cso = sel; in si_bind_gs_shader()
1682 sctx->gs_shader.current = sel ? sel->first_variant : NULL; in si_bind_gs_shader()
1797 [PIPE_SHADER_GEOMETRY] = &sctx->gs_shader, in si_delete_shader_selector()
1954 struct si_shader_selector *gs = sctx->gs_shader.cso; in si_update_gs_ring_buffers()
2122 bytes = MAX2(bytes, si_get_scratch_buffer_bytes_per_wave(sctx->gs_shader.current)); in si_get_max_scratch_bytes_per_wave()
2164 r = si_update_scratch_buffer(sctx, sctx->gs_shader.current); in si_update_spi_tmpring_size()
[all …]
Dsi_state_draw.c280 if (sctx->gs_shader.cso) in si_get_ia_multi_vgt_param()
296 sctx->gs_shader.cso) in si_get_ia_multi_vgt_param()
301 if (sctx->gs_shader.cso) { in si_get_ia_multi_vgt_param()
371 (sctx->gs_shader.cso || max_primgroup_in_wave != 2)))) in si_get_ia_multi_vgt_param()
384 sctx->gs_shader.cso && in si_get_ia_multi_vgt_param()
1058 if (sctx->gs_shader.cso) in si_draw_vbo()
1059 rast_prim = sctx->gs_shader.cso->gs_output_prim; in si_draw_vbo()
1070 if (sctx->gs_shader.cso) { in si_draw_vbo()
Dsi_debug.c486 si_dump_shader(sctx->screen, &sctx->gs_shader, f); in si_dump_debug_state()
494 si_dump_descriptors(sctx, &sctx->gs_shader, f); in si_dump_debug_state()
Dsi_descriptors.c1789 else if (sctx->gs_shader.cso) in si_shader_change_notify()
1798 if (sctx->gs_shader.cso) in si_shader_change_notify()
Dsi_blit.c60 util_blitter_save_geometry_shader(sctx->blitter, sctx->gs_shader.cso); in si_blitter_begin()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c722 key.vs.as_es = (rctx->gs_shader != NULL); in r600_shader_selector_key()
724 if (rctx->ps_shader->current->shader.gs_prim_id_input && !rctx->gs_shader) { in r600_shader_selector_key()
744 key.tes.as_es = (rctx->gs_shader != NULL); in r600_shader_selector_key()
919 if (rctx->gs_shader) in r600_get_vs_info()
920 return &rctx->gs_shader->info; in r600_get_vs_info()
945 rctx->gs_shader = (struct r600_pipe_shader_selector *)state; in r600_bind_gs_state()
950 rctx->b.streamout.stride_in_dw = rctx->gs_shader->so.stride; in r600_bind_gs_state()
1018 if (rctx->gs_shader == sel) { in r600_delete_gs_state()
1019 rctx->gs_shader = NULL; in r600_delete_gs_state()
1474 update_gs_block_state(rctx, rctx->gs_shader != NULL); in r600_update_derived_state()
[all …]
Dr600_state.c1911 if (rctx->gs_shader->gs_max_out_vertices <= 128) in r600_emit_shader_stages()
1913 else if (rctx->gs_shader->gs_max_out_vertices <= 256) in r600_emit_shader_stages()
1915 else if (rctx->gs_shader->gs_max_out_vertices <= 512) in r600_emit_shader_stages()
1923 if (rctx->gs_shader->current->shader.gs_prim_id_input) in r600_emit_shader_stages()
1995 if (rctx->gs_shader) { in r600_adjust_gprs()
1997 num_gprs[R600_HW_STAGE_GS] = rctx->gs_shader->current->shader.bc.ngpr; in r600_adjust_gprs()
1998 num_gprs[R600_HW_STAGE_VS] = rctx->gs_shader->current->gs_copy_shader->shader.bc.ngpr; in r600_adjust_gprs()
Dr600_hw_context.c327 if (ctx->gs_shader) { in r600_begin_new_cs()
Dr600_pipe.h490 struct r600_pipe_shader_selector *gs_shader; member
Devergreen_state.c2173 if (rctx->gs_shader->gs_max_out_vertices <= 128) in evergreen_emit_shader_stages()
2175 else if (rctx->gs_shader->gs_max_out_vertices <= 256) in evergreen_emit_shader_stages()
2177 else if (rctx->gs_shader->gs_max_out_vertices <= 512) in evergreen_emit_shader_stages()
2190 if (rctx->gs_shader->current->shader.gs_prim_id_input) in evergreen_emit_shader_stages()
Dr600_blit.c60 util_blitter_save_geometry_shader(rctx->blitter, rctx->gs_shader); in r600_blitter_begin()
Dr600_shader.c2140 struct r600_shader *gs_shader = &gs->shader; in generate_gs_copy_shader() local
2142 int ocnt = gs_shader->noutput; in generate_gs_copy_shader()
2155 memcpy(cshader->shader.output, gs_shader->output, ocnt * in generate_gs_copy_shader()
2989 ctx.gs_for_vs = &rctx->gs_shader->current->shader; in r600_shader_from_tgsi()
/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c563 (sctx->gs_shader.cso || max_primgroup_in_wave != 2)))) in si_get_ia_multi_vgt_param()