Home
last modified time | relevance | path

Searched refs:tes_shader (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_pipe.h259 struct si_shader_ctx_state tes_shader; member
464 else if (sctx->tes_shader.cso) in si_get_vs_info()
465 return &sctx->tes_shader.cso->info; in si_get_vs_info()
476 else if (sctx->tes_shader.current) in si_get_vs_state()
477 return sctx->tes_shader.current; in si_get_vs_state()
Dsi_state_shaders.c939 if (sctx->tes_shader.cso) in si_shader_selector_key()
952 sctx->tes_shader.cso->info.properties[TGSI_PROPERTY_TES_PRIM_MODE]; in si_shader_selector_key()
1713 bool enable_changed = !!sctx->tes_shader.cso != !!sel; in si_bind_tes_shader()
1715 if (sctx->tes_shader.cso == sel) in si_bind_tes_shader()
1718 sctx->tes_shader.cso = sel; in si_bind_tes_shader()
1719 sctx->tes_shader.current = sel ? sel->first_variant : NULL; in si_bind_tes_shader()
1796 [PIPE_SHADER_TESS_EVAL] = &sctx->tes_shader, in si_delete_shader_selector()
1953 sctx->tes_shader.cso ? sctx->tes_shader.cso : sctx->vs_shader.cso; in si_update_gs_ring_buffers()
2125 bytes = MAX2(bytes, si_get_scratch_buffer_bytes_per_wave(sctx->tes_shader.current)); in si_get_max_scratch_bytes_per_wave()
2181 if (sctx->tes_shader.current) in si_update_spi_tmpring_size()
[all …]
Dsi_state_draw.c102 sctx->tcs_shader.cso ? sctx->tcs_shader.cso : sctx->tes_shader.cso; in si_emit_derived_tess_state()
283 if (sctx->tes_shader.cso) { in si_get_ia_multi_vgt_param()
289 sctx->tes_shader.cso->info.uses_primid) in si_get_ia_multi_vgt_param()
475 struct si_shader_selector *tes = sctx->tes_shader.cso; in si_emit_draw_registers()
490 if (sctx->tes_shader.cso) in si_emit_draw_registers()
1029 if (unlikely(!!sctx->tes_shader.cso != (info->mode == PIPE_PRIM_PATCHES))) { in si_draw_vbo()
1060 else if (sctx->tes_shader.cso) in si_draw_vbo()
1061 rast_prim = sctx->tes_shader.cso->info.properties[TGSI_PROPERTY_TES_PRIM_MODE]; in si_draw_vbo()
1078 !sctx->tes_shader.cso && in si_draw_vbo()
Dsi_debug.c485 si_dump_shader(sctx->screen, &sctx->tes_shader, f); in si_dump_debug_state()
493 si_dump_descriptors(sctx, &sctx->tes_shader, f); in si_dump_debug_state()
Dsi_descriptors.c1786 if (sctx->tes_shader.cso) in si_shader_change_notify()
1797 if (sctx->tes_shader.cso) { in si_shader_change_notify()
Dsi_blit.c59 util_blitter_save_tesseval_shader(sctx->blitter, sctx->tes_shader.cso); in si_blitter_begin()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c720 key.vs.as_ls = (rctx->tes_shader != NULL); in r600_shader_selector_key()
747 key.tcs.prim_mode = rctx->tes_shader->info.properties[TGSI_PROPERTY_TES_PRIM_MODE]; in r600_shader_selector_key()
921 else if (rctx->tes_shader) in r600_get_vs_info()
922 return &rctx->tes_shader->info; in r600_get_vs_info()
964 rctx->tes_shader = (struct r600_pipe_shader_selector *)state; in r600_bind_tes_state()
969 rctx->b.streamout.stride_in_dw = rctx->tes_shader->so.stride; in r600_bind_tes_state()
1042 if (rctx->tes_shader == sel) { in r600_delete_tes_state()
1043 rctx->tes_shader = NULL; in r600_delete_tes_state()
1344 if (rctx->tes_shader) { in update_gs_block_state()
1484 } else if (rctx->tes_shader) { in r600_update_derived_state()
[all …]
Devergreen_state.c1959 if (!rctx->tes_shader) in evergreen_emit_tes_constant_buffers()
1970 if (!rctx->tes_shader) in evergreen_emit_tcs_constant_buffers()
2184 if (!rctx->tes_shader) in evergreen_emit_shader_stages()
2194 if (rctx->tes_shader) { in evergreen_emit_shader_stages()
2196 struct tgsi_shader_info *info = &rctx->tes_shader->current->selector->info; in evergreen_emit_shader_stages()
2246 if (rctx->tes_shader) { in evergreen_emit_shader_stages()
3677 struct r600_pipe_shader_selector *tcs = rctx->tcs_shader ? rctx->tcs_shader : rctx->tes_shader; in evergreen_setup_tess_constants()
3694 if (!rctx->tes_shader) { in evergreen_setup_tess_constants()
3781 if (!rctx->tes_shader) in evergreen_get_ls_hs_config()
Dr600_hw_context.c331 if (ctx->tes_shader) { in r600_begin_new_cs()
Dr600_pipe.h493 struct r600_pipe_shader_selector *tes_shader; member
Dr600_blit.c62 util_blitter_save_tesseval_shader(rctx->blitter, rctx->tes_shader); in r600_blitter_begin()