Home
last modified time | relevance | path

Searched refs:MaxTextureCoordUnits (Results 1 – 25 of 36) sorted by relevance

12

/external/mesa3d/src/mesa/tnl/
Dt_vb_texmat.c68 for (i = 0 ; i < ctx->Const.MaxTextureCoordUnits ; i++) { in run_texmat_stage()
96 for (i = 0 ; i < ctx->Const.MaxTextureCoordUnits ; i++) in alloc_texmat_data()
Dt_vb_texgen.c493 for (i = 0 ; i < ctx->Const.MaxTextureCoordUnits ; i++) { in run_texgen_stage()
517 for (i = 0 ; i < ctx->Const.MaxTextureCoordUnits ; i++) { in validate_texgen_stage()
571 for (i = 0 ; i < ctx->Const.MaxTextureCoordUnits ; i++) in alloc_texgen_data()
Dt_context.c159 for (i = 0; i < ctx->Const.MaxTextureCoordUnits; i++) { in _tnl_InvalidateState()
Dt_vb_program.c444 for (i = 0; i < ctx->Const.MaxTextureCoordUnits; i++) { in run_vp()
/external/mesa3d/src/compiler/glsl/
Dstandalone.cpp164 ctx->Const.MaxTextureCoordUnits = 0; in initialize_context()
192 ctx->Const.MaxTextureCoordUnits = 2; in initialize_context()
220 ctx->Const.MaxTextureCoordUnits = 8; in initialize_context()
256 ctx->Const.MaxTextureCoordUnits = 8; in initialize_context()
303 ctx->Const.MaxTextureCoordUnits = 0; in initialize_context()
Dstandalone_scaffolding.cpp236 ctx->Const.MaxTextureCoordUnits = 2; in initialize_context_to_defaults()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_fragprog.c82 for (unsigned i = 0; i < p->ctx->Const.MaxTextureCoordUnits; i++) { in get_texcoord_mapping()
88 return p->ctx->Const.MaxTextureCoordUnits - 1; in get_texcoord_mapping()
1039 for (unsigned i = 0; i < p->ctx->Const.MaxTextureCoordUnits; i++) { in check_texcoord_mapping()
1041 if (unit >= p->ctx->Const.MaxTextureCoordUnits) { in check_texcoord_mapping()
1048 if (unit >= p->ctx->Const.MaxTextureCoordUnits) { in check_texcoord_mapping()
1056 if (unit > p->ctx->Const.MaxTextureCoordUnits) in check_texcoord_mapping()
1072 for (i = 0; i < p->ctx->Const.MaxTextureCoordUnits; i++) { in check_wpos()
1077 if (unit < p->ctx->Const.MaxTextureCoordUnits) in check_wpos()
1280 for (i = 0; i < p->ctx->Const.MaxTextureCoordUnits; i++) { in i915ValidateFragmentProgram()
Di830_context.c101 intel->ctx.Const.MaxTextureCoordUnits = I830_TEX_UNITS; in i830CreateContext()
Di915_context.c205 ctx->Const.MaxTextureCoordUnits = I915_TEX_UNITS; in i915CreateContext()
/external/mesa3d/src/mesa/main/
Dtexstate.h78 ctx->Const.MaxTextureCoordUnits); in _mesa_max_tex_unit()
Dcontext.c558 consts->MaxTextureCoordUnits = MAX_TEXTURE_COORD_UNITS; in _mesa_init_constants()
560 consts->MaxTextureUnits = MIN2(consts->MaxTextureCoordUnits, in _mesa_init_constants()
780 assert(ctx->Const.MaxTextureCoordUnits > 0); in check_context_limits()
781 assert(ctx->Const.MaxTextureCoordUnits <= MAX_TEXTURE_COORD_UNITS); in check_context_limits()
786 ctx->Const.MaxTextureCoordUnits)); in check_context_limits()
789 assert(ctx->Const.MaxTextureCoordUnits <= MAX_COMBINED_TEXTURE_IMAGE_UNITS); in check_context_limits()
791 …assert(ctx->Const.MaxTextureCoordUnits <= ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImage… in check_context_limits()
Dtexenv.c402 ? ctx->Const.MaxTextureCoordUnits : ctx->Const.MaxCombinedTextureImageUnits; in _mesa_texenvfv_indexed()
724 ? ctx->Const.MaxTextureCoordUnits : ctx->Const.MaxCombinedTextureImageUnits; in _mesa_gettexenvfv_indexed()
800 ? ctx->Const.MaxTextureCoordUnits : ctx->Const.MaxCombinedTextureImageUnits; in _mesa_gettexenviv_indexed()
Dtexstate.c106 for (u = 0; u < src->Const.MaxTextureCoordUnits; u++) { in _mesa_copy_texture_state()
362 if (texUnit >= ctx->Const.MaxTextureCoordUnits) { in _mesa_ClientActiveTexture()
394 for (u = 0; u < ctx->Const.MaxTextureCoordUnits; u++) { in _mesa_update_texture_matrices()
612 for (unit = 0; unit < ctx->Const.MaxTextureCoordUnits; unit++) { in update_texgen()
Dmatrix.c66 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in get_named_matrix_stack()
94 if (mode >= GL_TEXTURE0 && mode < (GL_TEXTURE0 + ctx->Const.MaxTextureCoordUnits)) { in get_named_matrix_stack()
279 if (mode >= GL_TEXTURE0 && mode < (GL_TEXTURE0 + ctx->Const.MaxTextureCoordUnits)) { in _mesa_MatrixMode()
Denable.c160 if (index >= ctx->Const.MaxTextureCoordUnits) { in client_state_i()
209 if (GL_TEXTURE0 <= cap && cap < GL_TEXTURE0 + ctx->Const.MaxTextureCoordUnits) { in _mesa_EnableVertexArrayEXT()
262 if (GL_TEXTURE0 <= cap && cap < GL_TEXTURE0 + ctx->Const.MaxTextureCoordUnits) { in _mesa_DisableVertexArrayEXT()
288 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in get_texcoord_unit()
1388 ctx->Const.MaxTextureCoordUnits)) { in _mesa_set_enablei()
1459 ctx->Const.MaxTextureCoordUnits)) { in _mesa_IsEnabledi()
Drastpos.c501 for (u = 0; u < ctx->Const.MaxTextureCoordUnits; u++) { in _mesa_RasterPos()
748 for (texSet = 0; texSet < ctx->Const.MaxTextureCoordUnits; texSet++) { in window_pos3f()
Dtexgen.c49 if (texunitIndex >= ctx->Const.MaxTextureCoordUnits) { in get_texgen()
/external/mesa3d/src/mesa/program/
Dprogram_parser.h176 unsigned MaxTextureCoordUnits; member
Dprogram_parse.y1995 if ((unsigned) $1 >= state->MaxTextureCoordUnits) {
2555 state->MaxTextureCoordUnits = ctx->Const.MaxTextureCoordUnits;
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_rasterpos.c170 for (i = 0; i < ctx->Const.MaxTextureCoordUnits; i++) { in rastpos_point()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_context.c162 ctx->Const.MaxTextureCoordUnits = NV04_TEXTURE_UNITS; in nv04_context_create()
Dnouveau_state.c470 for (i = 0; i < ctx->Const.MaxTextureCoordUnits; i++) in nouveau_update_state()
/external/mesa3d/src/mesa/swrast_setup/
Dss_context.c282 for (i = 0 ; i < ctx->Const.MaxTextureCoordUnits ; i++) in _swsetup_Translate()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_context.c225 ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits; in r100CreateContext()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_context.c263 ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits; in r200CreateContext()

12