Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/glsl/
Dstandalone.cpp164 ctx->Const.MaxTextureUnits = 8; in initialize_context()
192 ctx->Const.MaxTextureUnits = 2; in initialize_context()
220 ctx->Const.MaxTextureUnits = 2; in initialize_context()
256 ctx->Const.MaxTextureUnits = 2; in initialize_context()
303 ctx->Const.MaxTextureUnits = 0; in initialize_context()
Dstandalone_scaffolding.cpp236 ctx->Const.MaxTextureUnits = 2; in initialize_context_to_defaults()
Dglsl_parser_extras.h511 unsigned MaxTextureUnits; member
Dbuiltin_variables.cpp854 add_const("gl_MaxTextureUnits", state->Const.MaxTextureUnits); in generate_constants()
1087 add_uniform(array(vec4_t, state->Const.MaxTextureUnits), in generate_uniforms()
Dglsl_parser_extras.cpp108 this->Const.MaxTextureUnits = ctx->Const.MaxTextureUnits; in _mesa_glsl_parse_state()
/third_party/glslang/Test/
D100.conf3 MaxTextureUnits 32
/third_party/glslang/Test/baseResults/
Dtest.conf3 MaxTextureUnits 32
/third_party/mesa3d/src/mesa/program/
Dprogram_parser.h178 unsigned MaxTextureUnits; member
Dprogram_parse.y2032 if ((unsigned) $1 >= state->MaxTextureUnits) {
2569 state->MaxTextureUnits = ctx->Const.MaxTextureUnits;
/third_party/mesa3d/src/mesa/main/
Dcontext.c417 consts->MaxTextureUnits = MIN2(consts->MaxTextureCoordUnits, in _mesa_init_constants()
639 assert(ctx->Const.MaxTextureUnits > 0); in check_context_limits()
640 assert(ctx->Const.MaxTextureUnits <= MAX_TEXTURE_IMAGE_UNITS); in check_context_limits()
641 assert(ctx->Const.MaxTextureUnits <= MAX_TEXTURE_COORD_UNITS); in check_context_limits()
642 …assert(ctx->Const.MaxTextureUnits == MIN2(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImage… in check_context_limits()
Datifragshader.c466 ((dst - GL_REG_0_ATI) >= ctx->Const.MaxTextureUnits)) { in _mesa_PassTexCoordATI()
472 ((coord - GL_TEXTURE0_ARB) >= ctx->Const.MaxTextureUnits))) { in _mesa_PassTexCoordATI()
539 ((dst - GL_REG_0_ATI) >= ctx->Const.MaxTextureUnits)) { in _mesa_SampleMapATI()
545 ((interp - GL_TEXTURE0_ARB) >= ctx->Const.MaxTextureUnits))) { in _mesa_SampleMapATI()
Dattrib.c192 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) { in _mesa_PushAttrib()
494 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) { in pop_enable_group()
541 for (u = 0; u < ctx->Const.MaxTextureUnits; u++) { in pop_texture_group()
Dconsts_exts.h474 GLuint MaxTextureUnits; /**< = MIN(CoordUnits, FragmentProgram.ImageUnits) */ member
Dtexenv.c231 legal = (param - GL_TEXTURE0 < ctx->Const.MaxTextureUnits); in set_combiner_source()
Dtexstate.c782 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) { in update_ff_texture_state()
Dff_fragment_shader.cpp1076 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) in create_new_program()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_drawtex.c189 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) { in st_DrawTex()
260 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) { in st_DrawTex()
Dst_extensions.c413 c->MaxTextureUnits = in st_init_limits()
/third_party/mesa3d/docs/relnotes/
D21.1.0.rst3390 - mesa: pop all textures up to NumCurrentTexUsed, not just MaxTextureUnits