Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_context.c87 intel->ctx.Const.MaxTextureUnits = I830_TEX_UNITS; in i830CreateContext()
98 ctx->Const.MaxTextureUnits = I830_TEX_UNITS; in i830CreateContext()
Di915_context.c213 ctx->Const.MaxTextureUnits = I915_TEX_UNITS; in i915CreateContext()
228 ctx->Const.MaxTextureUnits = I915_TEX_UNITS; in i915CreateContext()
Di830_texblend.c448 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) in i830EmitTextureBlend()
452 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) in i830EmitTextureBlend()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_context.c306 ctx->Const.MaxTextureUnits = driQueryOptioni (&rmesa->radeon.optionCache, in r200CreateContext()
308 ctx->Const.MaxTextureImageUnits = ctx->Const.MaxTextureUnits; in r200CreateContext()
309 ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits; in r200CreateContext()
311 ctx->Const.MaxCombinedTextureImageUnits = ctx->Const.MaxTextureUnits; in r200CreateContext()
430 ctx->Extensions.ATI_fragment_shader = (ctx->Const.MaxTextureUnits == 6); in r200CreateContext()
Dr200_tex.c425 for ( i = 0 ; i < rmesa->radeon.glCtx->Const.MaxTextureUnits ; i++ ) { in r200DeleteTexture()
Dr200_cmdbuf.c59 mtu = rmesa->radeon.glCtx->Const.MaxTextureUnits; in r200SetUpAtomList()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_context.c269 ctx->Const.MaxTextureUnits = driQueryOptioni (&rmesa->radeon.optionCache, in r100CreateContext()
271 ctx->Const.MaxTextureImageUnits = ctx->Const.MaxTextureUnits; in r100CreateContext()
272 ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits; in r100CreateContext()
273 ctx->Const.MaxCombinedTextureImageUnits = ctx->Const.MaxTextureUnits; in r100CreateContext()
Dradeon_tcl.c305 for (i = 0; i < ctx->Const.MaxTextureUnits; ++i) in radeonEnsureEmitSize()
387 for (i = 0 ; i < ctx->Const.MaxTextureUnits; i++) { in radeon_run_tcl_render()
Dradeon_maos_arrays.c251 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) { in radeonEmitArrays()
Dradeon_maos_verts.c345 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) { in radeonEmitArrays()
Dradeon_tex.c367 for ( i = 0 ; i < rmesa->radeon.glCtx->Const.MaxTextureUnits ; i++ ) { in radeonDeleteTexture()
Dradeon_ioctl.c67 int i, mtu = rmesa->radeon.glCtx->Const.MaxTextureUnits; in radeonSetUpAtomList()
/external/mesa3d/src/glsl/
Dstandalone_scaffolding.cpp89 ctx->Const.MaxTextureUnits = 2; in initialize_context_to_defaults()
Dglsl_parser_extras.h120 unsigned MaxTextureUnits; member
Dglsl_parser_extras.cpp76 this->Const.MaxTextureUnits = ctx->Const.MaxTextureUnits; in _mesa_glsl_parse_state()
Dbuiltin_variables.cpp552 state->Const.MaxTextureUnits); in generate_110_uniforms()
617 state->Const.MaxTextureUnits)); in generate_110_uniforms()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_span.c70 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) in span_map_unmap()
Dnv04_context.c163 ctx->Const.MaxTextureUnits = NV04_TEXTURE_UNITS; in nv04_context_create()
/external/mesa3d/src/mesa/program/
Dprogram_parser.h173 unsigned MaxTextureUnits; member
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawtex.c129 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) { in st_DrawTex()
198 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) { in st_DrawTex()
/external/mesa3d/src/mesa/swrast/
Ds_texcombine.c191 ASSERT(srcUnit < ctx->Const.MaxTextureUnits); in texture_combine()
281 ASSERT(srcUnit < ctx->Const.MaxTextureUnits); in texture_combine()
645 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) { in _swrast_texture_span()
712 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) { in _swrast_texture_span()
777 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) { in _swrast_texture_span()
/external/mesa3d/src/mesa/main/
Datifragshader.c464 ((dst - GL_REG_0_ATI) >= ctx->Const.MaxTextureUnits)) { in _mesa_PassTexCoordATI()
470 ((coord - GL_TEXTURE0_ARB) >= ctx->Const.MaxTextureUnits))) { in _mesa_PassTexCoordATI()
536 ((dst - GL_REG_0_ATI) >= ctx->Const.MaxTextureUnits)) { in _mesa_SampleMapATI()
542 ((interp - GL_TEXTURE0_ARB) >= ctx->Const.MaxTextureUnits))) { in _mesa_SampleMapATI()
Dcontext.c570 ctx->Const.MaxTextureUnits = MIN2(ctx->Const.MaxTextureCoordUnits, in _mesa_init_constants()
711 assert(ctx->Const.MaxTextureUnits > 0); in check_context_limits()
712 assert(ctx->Const.MaxTextureUnits <= MAX_TEXTURE_IMAGE_UNITS); in check_context_limits()
713 assert(ctx->Const.MaxTextureUnits <= MAX_TEXTURE_COORD_UNITS); in check_context_limits()
714 assert(ctx->Const.MaxTextureUnits == MIN2(ctx->Const.MaxTextureImageUnits, in check_context_limits()
Dattrib.c319 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) { in _mesa_PushAttrib()
437 for (u = 0; u < ctx->Const.MaxTextureUnits; u++) { in _mesa_PushAttrib()
445 for (u = 0; u < ctx->Const.MaxTextureUnits; u++) { in _mesa_PushAttrib()
631 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) { in pop_enable_group()
680 for (u = 0; u < ctx->Const.MaxTextureUnits; u++) { in pop_texture_group()
1157 for (u = 0; u < ctx->Const.MaxTextureUnits; u++) { in _mesa_PopAttrib()
1635 for (u = 0; u < ctx->Const.MaxTextureUnits; u++) { in _mesa_free_attrib_data()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c167 ctx->Const.MaxTextureUnits = MIN2(ctx->Const.MaxTextureCoordUnits, in brwCreateContext()

12