Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_tess.c48 ctx->TessCtrlProgram.patch_default_outer_level, in st_update_tess()
49 ctx->TessCtrlProgram.patch_default_inner_level); in st_update_tess()
53 pipe->set_patch_vertices(pipe, ctx->TessCtrlProgram.patch_vertices); in st_update_tess()
Dst_atom_sampler.c297 if (ctx->TessCtrlProgram._Current) { in st_update_tessctrl_samplers()
300 ctx->TessCtrlProgram._Current, NULL, NULL); in st_update_tessctrl_samplers()
Dst_atom_texture.c315 if (ctx->TessCtrlProgram._Current) { in st_update_tessctrl_textures()
317 ctx->TessCtrlProgram._Current); in st_update_tessctrl_textures()
Dst_atom.c87 struct gl_program *new_tcp = ctx->TessCtrlProgram._Current; in check_program_state()
Dst_atom_shader.c316 st->ctx->TessCtrlProgram._Current, in st_update_tcp()
Dst_draw_feedback.c460 ctx->TessCtrlProgram.patch_vertices); in st_feedback_draw_vbo()
Dst_context.c78 struct gl_program *tcp = ctx->TessCtrlProgram._Current; in st_get_active_states()
/third_party/mesa3d/src/mesa/main/
Dstate.c184 const struct gl_program *prevTCP = ctx->TessCtrlProgram._Current; in update_program()
255 _mesa_reference_program(ctx, &ctx->TessCtrlProgram._Current, tcsProg); in update_program()
259 _mesa_reference_program(ctx, &ctx->TessCtrlProgram._Current, NULL); in update_program()
311 ctx->TessCtrlProgram._Current != prevTCP || in update_program()
358 update_single_program_constants(ctx, ctx->TessCtrlProgram._Current, in update_program_constants()
Dshaderapi.c218 ctx->TessCtrlProgram.patch_vertices = 3; in _mesa_init_shader_state()
220 ctx->TessCtrlProgram.patch_default_outer_level[i] = 1.0; in _mesa_init_shader_state()
222 ctx->TessCtrlProgram.patch_default_inner_level[i] = 1.0; in _mesa_init_shader_state()
2733 if (ctx->TessCtrlProgram.patch_vertices != value) { in set_patch_vertices()
2736 ctx->TessCtrlProgram.patch_vertices = value; in set_patch_vertices()
2789 memcpy(ctx->TessCtrlProgram.patch_default_outer_level, values, in _mesa_PatchParameterfv()
2795 memcpy(ctx->TessCtrlProgram.patch_default_inner_level, values, in _mesa_PatchParameterfv()
Dcontext.c1122 _mesa_reference_program(ctx, &ctx->TessCtrlProgram._Current, NULL); in _mesa_free_context_data()
Dmtypes.h3440 struct gl_tess_ctrl_program_state TessCtrlProgram; member
/third_party/mesa3d/src/mesa/vbo/
Dvbo_exec.c239 *count0 % ctx->TessCtrlProgram.patch_vertices) in vbo_merge_draws()
309 copy = count % ctx->TessCtrlProgram.patch_vertices; in vbo_copy_vertices()
/third_party/mesa3d/src/mesa/program/
Dprog_statevars.c758 val[0].i = ctx->TessCtrlProgram.patch_vertices; in fetch_state()
762 if (ctx->TessCtrlProgram._Current) in fetch_state()
763 val[0].i = ctx->TessCtrlProgram._Current->info.tess.tcs_vertices_out; in fetch_state()
765 val[0].i = ctx->TessCtrlProgram.patch_vertices; in fetch_state()