Home
last modified time | relevance | path

Searched refs:TessCtrlProgram (Results 1 – 18 of 18) 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.c269 if (ctx->TessCtrlProgram._Current) { in st_update_tessctrl_textures()
272 ctx->TessCtrlProgram._Current, in st_update_tessctrl_textures()
Dst_atom_sampler.c345 if (ctx->TessCtrlProgram._Current) { in st_update_tessctrl_samplers()
348 ctx->TessCtrlProgram._Current, in st_update_tessctrl_samplers()
Dst_draw.c155 info.vertices_per_patch = ctx->TessCtrlProgram.patch_vertices; in st_draw_vbo()
271 info.vertices_per_patch = ctx->TessCtrlProgram.patch_vertices; in st_indirect_draw_vbo()
Dst_atom.c74 struct gl_program *new_tcp = ctx->TessCtrlProgram._Current; in check_program_state()
Dst_atom_shader.c236 st->ctx->TessCtrlProgram._Current, in st_update_tcp()
Dst_context.c139 st_common_program(ctx->TessCtrlProgram._Current); in st_get_active_states()
/external/mesa3d/src/mesa/main/
Dstate.c90 const struct gl_program *prevTCP = ctx->TessCtrlProgram._Current; in update_program()
167 _mesa_reference_program(ctx, &ctx->TessCtrlProgram._Current, tcsProg); in update_program()
171 _mesa_reference_program(ctx, &ctx->TessCtrlProgram._Current, NULL); in update_program()
213 ctx->TessCtrlProgram._Current != prevTCP || in update_program()
Dshaderapi.c146 ctx->TessCtrlProgram.patch_vertices = 3; in _mesa_init_shader_state()
148 ctx->TessCtrlProgram.patch_default_outer_level[i] = 1.0; in _mesa_init_shader_state()
150 ctx->TessCtrlProgram.patch_default_inner_level[i] = 1.0; in _mesa_init_shader_state()
2546 ctx->TessCtrlProgram.patch_vertices = value; in _mesa_PatchParameteri_no_error()
2570 ctx->TessCtrlProgram.patch_vertices = value; in _mesa_PatchParameteri()
2587 memcpy(ctx->TessCtrlProgram.patch_default_outer_level, values, in _mesa_PatchParameterfv()
2593 memcpy(ctx->TessCtrlProgram.patch_default_inner_level, values, in _mesa_PatchParameterfv()
Dapi_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.c1323 _mesa_reference_program(ctx, &ctx->TessCtrlProgram._Current, NULL); in _mesa_free_context_data()
Dmtypes.h4847 struct gl_tess_ctrl_program_state TessCtrlProgram; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_constant_state.c60 return f_as_u32(ctx->TessCtrlProgram.patch_default_outer_level[i]); in brw_param_value()
62 return f_as_u32(ctx->TessCtrlProgram.patch_default_inner_level[0]); in brw_param_value()
64 return f_as_u32(ctx->TessCtrlProgram.patch_default_inner_level[1]); in brw_param_value()
Dbrw_draw.c122 hw_prim = _3DPRIM_PATCHLIST(ctx->TessCtrlProgram.patch_vertices); in gen6_set_prim()
407 mark_textures_used_for_txf(used_for_txf, ctx->TessCtrlProgram._Current); in brw_predraw_resolve_inputs()
724 brw->tcs.base.sampler_count = ctx->TessCtrlProgram._Current ? in brw_prepare_drawing()
725 util_last_bit(ctx->TessCtrlProgram._Current->SamplersUsed) : 0; in brw_prepare_drawing()
Dbrw_state_upload.c495 ctx->TessCtrlProgram._Current) { in brw_upload_pipeline_state()
496 brw->programs[MESA_SHADER_TESS_CTRL] = ctx->TessCtrlProgram._Current; in brw_upload_pipeline_state()
Dbrw_tcs.c300 key->input_vertices = brw->ctx.TessCtrlProgram.patch_vertices; in brw_tcs_populate_key()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c590 val[0].i = ctx->TessCtrlProgram.patch_vertices; in _mesa_fetch_state()
594 if (ctx->TessCtrlProgram._Current) in _mesa_fetch_state()
595 val[0].i = ctx->TessCtrlProgram._Current->info.tess.tcs_vertices_out; in _mesa_fetch_state()
597 val[0].i = ctx->TessCtrlProgram.patch_vertices; in _mesa_fetch_state()
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h358 … { GL_PATCH_VERTICES, CONTEXT_INT(TessCtrlProgram.patch_vertices), extra_ARB_tessellation_shader },
359 …{ GL_PATCH_DEFAULT_OUTER_LEVEL, CONTEXT_FLOAT4(TessCtrlProgram.patch_default_outer_level), extra_A…
360 …{ GL_PATCH_DEFAULT_INNER_LEVEL, CONTEXT_FLOAT2(TessCtrlProgram.patch_default_inner_level), extra_A…