Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/glsl/
Dstandalone.cpp163 ctx->Const.MaxTextureCoordUnits = 0; in initialize_context()
191 ctx->Const.MaxTextureCoordUnits = 2; in initialize_context()
219 ctx->Const.MaxTextureCoordUnits = 8; in initialize_context()
255 ctx->Const.MaxTextureCoordUnits = 8; in initialize_context()
302 ctx->Const.MaxTextureCoordUnits = 0; in initialize_context()
Dstandalone_scaffolding.cpp237 ctx->Const.MaxTextureCoordUnits = 2; in initialize_context_to_defaults()
Dglsl_parser_extras.cpp109 this->Const.MaxTextureCoords = ctx->Const.MaxTextureCoordUnits; in _mesa_glsl_parse_state()
/third_party/mesa3d/src/mesa/main/
Dcontext.c415 consts->MaxTextureCoordUnits = MAX_TEXTURE_COORD_UNITS; in _mesa_init_constants()
417 consts->MaxTextureUnits = MIN2(consts->MaxTextureCoordUnits, in _mesa_init_constants()
637 assert(ctx->Const.MaxTextureCoordUnits > 0); in check_context_limits()
638 assert(ctx->Const.MaxTextureCoordUnits <= MAX_TEXTURE_COORD_UNITS); in check_context_limits()
643 ctx->Const.MaxTextureCoordUnits)); in check_context_limits()
646 assert(ctx->Const.MaxTextureCoordUnits <= MAX_COMBINED_TEXTURE_IMAGE_UNITS); in check_context_limits()
648 …assert(ctx->Const.MaxTextureCoordUnits <= ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImage… in check_context_limits()
Dtexstate.h78 ctx->Const.MaxTextureCoordUnits); in _mesa_max_tex_unit()
Dtexenv.c385 ? ctx->Const.MaxTextureCoordUnits : ctx->Const.MaxCombinedTextureImageUnits; in _mesa_texenvfv_indexed()
704 ? ctx->Const.MaxTextureCoordUnits : ctx->Const.MaxCombinedTextureImageUnits; in _mesa_gettexenvfv_indexed()
779 ? 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()
368 if (texUnit >= ctx->Const.MaxTextureCoordUnits) { in _mesa_ClientActiveTexture()
401 for (u = 0; u < ctx->Const.MaxTextureCoordUnits; u++) { in _mesa_update_texture_matrices()
624 for (unit = 0; unit < ctx->Const.MaxTextureCoordUnits; unit++) { in update_texgen()
Denable.c178 if (index >= ctx->Const.MaxTextureCoordUnits) { in client_state_i()
227 if (GL_TEXTURE0 <= cap && cap < GL_TEXTURE0 + ctx->Const.MaxTextureCoordUnits) { in _mesa_EnableVertexArrayEXT()
280 if (GL_TEXTURE0 <= cap && cap < GL_TEXTURE0 + ctx->Const.MaxTextureCoordUnits) { in _mesa_DisableVertexArrayEXT()
306 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in get_texcoord_unit()
1419 ctx->Const.MaxTextureCoordUnits)) { in _mesa_set_enablei()
1490 ctx->Const.MaxTextureCoordUnits)) { in _mesa_IsEnabledi()
Dmatrix.c67 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in get_named_matrix_stack()
95 if (mode >= GL_TEXTURE0 && mode < (GL_TEXTURE0 + ctx->Const.MaxTextureCoordUnits)) { in get_named_matrix_stack()
280 if (mode >= GL_TEXTURE0 && mode < (GL_TEXTURE0 + ctx->Const.MaxTextureCoordUnits)) { in _mesa_MatrixMode()
Drastpos.c509 for (u = 0; u < ctx->Const.MaxTextureCoordUnits; u++) { in _mesa_RasterPos()
756 for (texSet = 0; texSet < ctx->Const.MaxTextureCoordUnits; texSet++) { in window_pos3f()
Dtexgen.c51 if (texunitIndex >= ctx->Const.MaxTextureCoordUnits) { in get_texgen()
Dconsts_exts.h472 GLuint MaxTextureCoordUnits; member
Dget.c1469 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in check_extra()
2927 if (index >= ctx->Const.MaxTextureCoordUnits) in find_value_indexed()
Dattrib.c1443 for (i = 0; i < ctx->Const.MaxTextureCoordUnits; i++) { in _mesa_ClientAttribDefaultEXT()
/third_party/mesa3d/src/mesa/program/
Dprogram_parser.h176 unsigned MaxTextureCoordUnits; member
Dprogram_parse.y2010 if ((unsigned) $1 >= state->MaxTextureCoordUnits) {
2568 state->MaxTextureCoordUnits = ctx->Const.MaxTextureCoordUnits;
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_rasterpos.c174 for (i = 0; i < ctx->Const.MaxTextureCoordUnits; i++) { in rastpos_point()
Dst_extensions.c409 c->MaxTextureCoordUnits in st_init_limits()
415 c->MaxTextureCoordUnits); in st_init_limits()