Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch_shade_pipeline_llvm.c571 struct draw_tess_ctrl_shader *tcs_shader = draw->tcs.tess_ctrl_shader; in llvm_pipeline_generic() local
643 if (tcs_shader) { in llvm_pipeline_generic()
644 draw_tess_ctrl_shader_run(tcs_shader, in llvm_pipeline_generic()
667tcs_shader ? tcs_shader->vertices_out : draw->pt.vertices_per_patch, in llvm_pipeline_generic()
670 tcs_shader ? &tcs_shader->info : &vshader->info, in llvm_pipeline_generic()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_debug.c1018 si_print_annotated_shader(sctx->tcs_shader.current, waves, num_waves, f); in si_dump_annotated_shaders()
1077 struct si_shader_ctx_state *tcs_shader; in si_log_draw_state() local
1082 tcs_shader = &sctx->tcs_shader; in si_log_draw_state()
1083 if (sctx->tes_shader.cso && !sctx->tcs_shader.cso) in si_log_draw_state()
1084 tcs_shader = &sctx->fixed_func_tcs_shader; in si_log_draw_state()
1089 si_dump_gfx_shader(sctx, tcs_shader, log); in si_log_draw_state()
1098 si_dump_gfx_descriptors(sctx, tcs_shader, log); in si_log_draw_state()
Dsi_state_shaders.c2957 si_shader_uses_bindless_samplers(sctx->tcs_shader.cso) || in si_update_common_shader_state()
2962 si_shader_uses_bindless_images(sctx->tcs_shader.cso) || in si_update_common_shader_state()
3004 (sctx->tcs_shader.cso && sctx->tcs_shader.cso->info.uses_primid) || in si_update_tess_uses_prim_id()
3083 bool enable_changed = !!sctx->tcs_shader.cso != !!sel; in si_bind_tcs_shader()
3085 if (sctx->tcs_shader.cso == sel) in si_bind_tcs_shader()
3088 sctx->tcs_shader.cso = sel; in si_bind_tcs_shader()
3089 sctx->tcs_shader.current = sel ? sel->first_variant : NULL; in si_bind_tcs_shader()
3224 [MESA_SHADER_TESS_CTRL] = &sctx->tcs_shader, in si_destroy_shader_selector()
3615 return sctx->tcs_shader.cso ? sctx->tcs_shader.current : sctx->fixed_func_tcs_shader.current; in si_get_tcs_current()
3932 if (sctx->tcs_shader.cso) { in si_update_shaders()
[all …]
Dsi_state_draw.c77 sctx->tcs_shader.cso ? sctx->tcs_shader.cso : sctx->tes_shader.cso; in si_emit_derived_tess_state()
92 if (sctx->tcs_shader.cso) in si_emit_derived_tess_state()
93 ls_current = sctx->tcs_shader.current; in si_emit_derived_tess_state()
120 if (sctx->tcs_shader.cso) { in si_emit_derived_tess_state()
1844 struct si_shader_selector *tcs = sctx->tcs_shader.cso; in si_multi_draw_vbo()
Dsi_pipe.h1036 struct si_shader_ctx_state tcs_shader; member
Dsi_blit.c47 util_blitter_save_tessctrl_shader(sctx->blitter, sctx->tcs_shader.cso); in si_blitter_begin()
Dsi_descriptors.c2716 [PIPE_SHADER_TESS_CTRL] = &sctx->tcs_shader, in si_gfx_resources_check_encrypted()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c1074 rctx->tcs_shader = (struct r600_pipe_shader_selector *)state; in r600_bind_tcs_state()
1159 if (rctx->tcs_shader == sel) { in r600_delete_tcs_state()
1160 rctx->tcs_shader = NULL; in r600_delete_tcs_state()
1804 if (rctx->tcs_shader) { in r600_update_derived_state()
1972 if (rctx->tcs_shader) { in r600_update_derived_state()
1973 need_buf_const = rctx->tcs_shader->current->shader.uses_tex_buffers || in r600_update_derived_state()
1974 rctx->tcs_shader->current->shader.has_txq_cube_array_z_comp; in r600_update_derived_state()
Devergreen_state.c4508 struct r600_pipe_shader_selector *tcs = rctx->tcs_shader ? rctx->tcs_shader : rctx->tes_shader; in evergreen_setup_tess_constants()
4544 if (rctx->tcs_shader) { in evergreen_setup_tess_constants()
4563 output_patch0_offset = rctx->tcs_shader ? input_patch_size * *num_patches : 0; in evergreen_setup_tess_constants()
4609 num_output_cp = rctx->tcs_shader ? in evergreen_get_ls_hs_config()
4610 rctx->tcs_shader->info.properties[TGSI_PROPERTY_TCS_VERTICES_OUT] : in evergreen_get_ls_hs_config()
Dr600_pipe.h571 struct r600_pipe_shader_selector *tcs_shader; member
Dr600_blit.c66 util_blitter_save_tessctrl_shader(rctx->blitter, rctx->tcs_shader); in r600_blitter_begin()