Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_tess.c50 ctx->TessCtrlProgram.patch_default_outer_level, in st_update_tess()
51 ctx->TessCtrlProgram.patch_default_inner_level); in st_update_tess()
Dst_atom_texture.c312 if (ctx->TessCtrlProgram._Current) { in st_update_tessctrl_textures()
314 ctx->TessCtrlProgram._Current); in st_update_tessctrl_textures()
Dst_atom_sampler.c370 if (ctx->TessCtrlProgram._Current) { in st_update_tessctrl_samplers()
373 ctx->TessCtrlProgram._Current, NULL, NULL); in st_update_tessctrl_samplers()
Dst_draw.c180 info.vertices_per_patch = ctx->TessCtrlProgram.patch_vertices; in st_draw_vbo()
301 info.vertices_per_patch = ctx->TessCtrlProgram.patch_vertices; in st_indirect_draw_vbo()
Dst_atom.c77 struct gl_program *new_tcp = ctx->TessCtrlProgram._Current; in check_program_state()
Dst_atom_shader.c320 st->ctx->TessCtrlProgram._Current, in st_update_tcp()
Dst_draw_feedback.c127 info.vertices_per_patch = ctx->TessCtrlProgram.patch_vertices; in st_feedback_draw_vbo()
Dst_context.c149 st_program(ctx->TessCtrlProgram._Current); in st_get_active_states()
/external/mesa3d/src/mesa/main/
Dstate.c181 const struct gl_program *prevTCP = ctx->TessCtrlProgram._Current; in update_program()
258 _mesa_reference_program(ctx, &ctx->TessCtrlProgram._Current, tcsProg); in update_program()
262 _mesa_reference_program(ctx, &ctx->TessCtrlProgram._Current, NULL); in update_program()
308 ctx->TessCtrlProgram._Current != prevTCP || in update_program()
355 update_single_program_constants(ctx, ctx->TessCtrlProgram._Current, in update_program_constants()
Dshaderapi.c147 ctx->TessCtrlProgram.patch_vertices = 3; in _mesa_init_shader_state()
149 ctx->TessCtrlProgram.patch_default_outer_level[i] = 1.0; in _mesa_init_shader_state()
151 ctx->TessCtrlProgram.patch_default_inner_level[i] = 1.0; in _mesa_init_shader_state()
2698 ctx->TessCtrlProgram.patch_vertices = value; in _mesa_PatchParameteri_no_error()
2723 ctx->TessCtrlProgram.patch_vertices = value; in _mesa_PatchParameteri()
2740 memcpy(ctx->TessCtrlProgram.patch_default_outer_level, values, in _mesa_PatchParameterfv()
2746 memcpy(ctx->TessCtrlProgram.patch_default_inner_level, values, in _mesa_PatchParameterfv()
Ddraw_validate.c287 if (ctx->TessCtrlProgram._Current && !ctx->TessEvalProgram._Current) { in check_valid_to_render()
303 ctx->TessEvalProgram._Current && !ctx->TessCtrlProgram._Current) { in check_valid_to_render()
Dcontext.c1336 _mesa_reference_program(ctx, &ctx->TessCtrlProgram._Current, NULL); in _mesa_free_context_data()
Dmtypes.h5078 struct gl_tess_ctrl_program_state TessCtrlProgram; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_constant_state.c61 return f_as_u32(ctx->TessCtrlProgram.patch_default_outer_level[i]); in brw_param_value()
63 return f_as_u32(ctx->TessCtrlProgram.patch_default_inner_level[0]); in brw_param_value()
65 return f_as_u32(ctx->TessCtrlProgram.patch_default_inner_level[1]); in brw_param_value()
Dbrw_draw.c124 hw_prim = _3DPRIM_PATCHLIST(ctx->TessCtrlProgram.patch_vertices); in gen6_set_prim()
505 mark_textures_used_for_txf(used_for_txf, ctx->TessCtrlProgram._Current); in brw_predraw_resolve_inputs()
859 brw->tcs.base.sampler_count = ctx->TessCtrlProgram._Current ? in brw_prepare_drawing()
860 util_last_bit(ctx->TessCtrlProgram._Current->info.textures_used) : 0; in brw_prepare_drawing()
Dbrw_state_upload.c643 ctx->TessCtrlProgram._Current) { in brw_upload_pipeline_state()
644 brw->programs[MESA_SHADER_TESS_CTRL] = ctx->TessCtrlProgram._Current; in brw_upload_pipeline_state()
Dbrw_tcs.c182 key->input_vertices = brw->ctx.TessCtrlProgram.patch_vertices; in brw_tcs_populate_key()
/external/mesa3d/src/mesa/vbo/
Dvbo_exec.c238 p0->count % ctx->TessCtrlProgram.patch_vertices) in vbo_merge_draws()
308 copy = count % ctx->TessCtrlProgram.patch_vertices; in vbo_copy_vertices()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c602 val[0].i = ctx->TessCtrlProgram.patch_vertices; in fetch_state()
606 if (ctx->TessCtrlProgram._Current) in fetch_state()
607 val[0].i = ctx->TessCtrlProgram._Current->info.tess.tcs_vertices_out; in fetch_state()
609 val[0].i = ctx->TessCtrlProgram.patch_vertices; in fetch_state()