Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c744 (rctx->gs_shader ? rctx->gs_shader->info.file_count[TGSI_FILE_HW_ATOMIC] : 0); in r600_get_hw_atomic_count()
749 (rctx->gs_shader ? rctx->gs_shader->info.file_count[TGSI_FILE_HW_ATOMIC] : 0) + in r600_get_hw_atomic_count()
788 key->vs.as_es = (rctx->gs_shader != NULL); in r600_shader_selector_key()
790 if (rctx->ps_shader->current->shader.gs_prim_id_input && !rctx->gs_shader) { in r600_shader_selector_key()
816 key->tes.as_es = (rctx->gs_shader != NULL); in r600_shader_selector_key()
1001 if (rctx->gs_shader) in r600_get_vs_info()
1002 return &rctx->gs_shader->info; in r600_get_vs_info()
1027 if (state == rctx->gs_shader) in r600_bind_gs_state()
1030 rctx->gs_shader = (struct r600_pipe_shader_selector *)state; in r600_bind_gs_state()
1035 rctx->b.streamout.stride_in_dw = rctx->gs_shader->so.stride; in r600_bind_gs_state()
[all …]
Dr600_state.c1934 if (rctx->gs_shader->gs_max_out_vertices <= 128) in r600_emit_shader_stages()
1936 else if (rctx->gs_shader->gs_max_out_vertices <= 256) in r600_emit_shader_stages()
1938 else if (rctx->gs_shader->gs_max_out_vertices <= 512) in r600_emit_shader_stages()
1946 if (rctx->gs_shader->current->shader.gs_prim_id_input) in r600_emit_shader_stages()
2018 if (rctx->gs_shader) { in r600_adjust_gprs()
2020 num_gprs[R600_HW_STAGE_GS] = rctx->gs_shader->current->shader.bc.ngpr; in r600_adjust_gprs()
2021 num_gprs[R600_HW_STAGE_VS] = rctx->gs_shader->current->gs_copy_shader->shader.bc.ngpr; in r600_adjust_gprs()
Dr600_hw_context.c373 if (ctx->gs_shader) { in r600_begin_new_cs()
Dr600_pipe.h558 struct r600_pipe_shader_selector *gs_shader; member
Dr600_blit.c65 util_blitter_save_geometry_shader(rctx->blitter, rctx->gs_shader); in r600_blitter_begin()
Devergreen_state.c2501 if (rctx->gs_shader->gs_max_out_vertices <= 128) in evergreen_emit_shader_stages()
2503 else if (rctx->gs_shader->gs_max_out_vertices <= 256) in evergreen_emit_shader_stages()
2505 else if (rctx->gs_shader->gs_max_out_vertices <= 512) in evergreen_emit_shader_stages()
2518 if (rctx->gs_shader->current->shader.gs_prim_id_input) in evergreen_emit_shader_stages()
Dr600_shader.c2242 struct r600_shader *gs_shader = &gs->shader; in generate_gs_copy_shader() local
2244 unsigned ocnt = gs_shader->noutput; in generate_gs_copy_shader()
2258 memcpy(cshader->shader.output, gs_shader->output, ocnt * in generate_gs_copy_shader()
3188 ctx.gs_for_vs = &rctx->gs_shader->current->shader; in r600_shader_from_tgsi()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c1223 else if (sctx->gs_shader.cso) in si_shader_selector_key()
1264 if (sctx->gs_shader.cso) in si_shader_selector_key()
2278 si_shader_uses_bindless_samplers(sctx->gs_shader.cso) || in si_update_common_shader_state()
2284 si_shader_uses_bindless_images(sctx->gs_shader.cso) || in si_update_common_shader_state()
2320 (sctx->gs_shader.cso && in si_update_tess_uses_prim_id()
2321 sctx->gs_shader.cso->info.uses_primid) || in si_update_tess_uses_prim_id()
2322 (sctx->ps_shader.cso && !sctx->gs_shader.cso && in si_update_tess_uses_prim_id()
2332 bool enable_changed = !!sctx->gs_shader.cso != !!sel; in si_bind_gs_shader()
2334 if (sctx->gs_shader.cso == sel) in si_bind_gs_shader()
2337 sctx->gs_shader.cso = sel; in si_bind_gs_shader()
[all …]
Dsi_pipe.h485 struct si_shader_ctx_state gs_shader; member
796 if (sctx->gs_shader.cso) in si_get_vs()
797 return &sctx->gs_shader; in si_get_vs()
813 if (sctx->gs_shader.cso) in si_get_vs_state()
814 return sctx->gs_shader.cso->gs_copy_shader; in si_get_vs_state()
Dsi_state_draw.c489 } else if (sctx->gs_shader.cso) { in si_get_ia_multi_vgt_param()
508 if (sctx->gs_shader.cso) { in si_get_ia_multi_vgt_param()
1265 if (sctx->gs_shader.cso) in si_draw_vbo()
1266 rast_prim = sctx->gs_shader.cso->gs_output_prim; in si_draw_vbo()
1308 if (sctx->gs_shader.cso) { in si_draw_vbo()
Dsi_cp_dma.c539 } else if (sctx->gs_shader.cso) { in cik_emit_prefetch_L2()
568 } else if (sctx->gs_shader.cso) { in cik_emit_prefetch_L2()
Dsi_debug.c932 si_print_annotated_shader(sctx->gs_shader.current, waves, num_waves, f); in si_dump_annotated_shaders()
1000 si_dump_gfx_shader(sctx, &sctx->gs_shader, log); in si_log_draw_state()
1010 si_dump_gfx_descriptors(sctx, &sctx->gs_shader, log); in si_log_draw_state()
Dsi_descriptors.c1973 } else if (sctx->gs_shader.cso) { in si_shader_change_notify()
1983 if (sctx->gs_shader.cso) in si_shader_change_notify()
Dsi_blit.c50 util_blitter_save_geometry_shader(sctx->blitter, sctx->gs_shader.cso); in si_blitter_begin()