Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_context.c261 ctx->Const.MaxTextureUnits = driQueryOptioni (&rmesa->radeon.optionCache, in r200CreateContext()
263 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = ctx->Const.MaxTextureUnits; in r200CreateContext()
264 ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits; in r200CreateContext()
266 ctx->Const.MaxCombinedTextureImageUnits = ctx->Const.MaxTextureUnits; in r200CreateContext()
343 ctx->Extensions.ATI_fragment_shader = (ctx->Const.MaxTextureUnits == 6); in r200CreateContext()
Dr200_tex.c424 for ( i = 0 ; i < rmesa->radeon.glCtx.Const.MaxTextureUnits ; i++ ) { in r200DeleteTexture()
Dr200_cmdbuf.c59 mtu = rmesa->radeon.glCtx.Const.MaxTextureUnits; in r200SetUpAtomList()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_context.c223 ctx->Const.MaxTextureUnits = driQueryOptioni (&rmesa->radeon.optionCache, in r100CreateContext()
225 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = ctx->Const.MaxTextureUnits; in r100CreateContext()
226 ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits; in r100CreateContext()
227 ctx->Const.MaxCombinedTextureImageUnits = ctx->Const.MaxTextureUnits; in r100CreateContext()
Dradeon_tcl.c306 for (i = 0; i < ctx->Const.MaxTextureUnits; ++i) in radeonEnsureEmitSize()
388 for (i = 0 ; i < ctx->Const.MaxTextureUnits; i++) { in radeon_run_tcl_render()
Dradeon_maos_arrays.c250 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.c366 for ( i = 0 ; i < rmesa->radeon.glCtx.Const.MaxTextureUnits ; i++ ) { in radeonDeleteTexture()
Dradeon_ioctl.c64 int i, mtu = rmesa->radeon.glCtx.Const.MaxTextureUnits; in radeonSetUpAtomList()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di830_context.c100 intel->ctx.Const.MaxTextureUnits = I830_TEX_UNITS; in i830CreateContext()
111 ctx->Const.MaxTextureUnits = I830_TEX_UNITS; in i830CreateContext()
Di915_context.c204 ctx->Const.MaxTextureUnits = I915_TEX_UNITS; in i915CreateContext()
222 ctx->Const.MaxTextureUnits = I915_TEX_UNITS; in i915CreateContext()
/third_party/glslang/Test/
D100.conf3 MaxTextureUnits 32
/third_party/mesa3d/src/compiler/glsl/
Dstandalone.cpp165 ctx->Const.MaxTextureUnits = 8; in initialize_context()
193 ctx->Const.MaxTextureUnits = 2; in initialize_context()
221 ctx->Const.MaxTextureUnits = 2; in initialize_context()
257 ctx->Const.MaxTextureUnits = 2; in initialize_context()
304 ctx->Const.MaxTextureUnits = 0; in initialize_context()
Dstandalone_scaffolding.cpp235 ctx->Const.MaxTextureUnits = 2; in initialize_context_to_defaults()
Dglsl_parser_extras.h503 unsigned MaxTextureUnits; member
/third_party/glslang/Test/baseResults/
Dtest.conf3 MaxTextureUnits 32
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_span.c70 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) in span_map_unmap()
Dnv04_context.c164 ctx->Const.MaxTextureUnits = NV04_TEXTURE_UNITS; in nv04_context_create()
/third_party/mesa3d/src/mesa/program/
Dprogram_parser.h178 unsigned MaxTextureUnits; member
Dprogram_parse.y2037 if ((unsigned) $1 >= state->MaxTextureUnits) {
2573 state->MaxTextureUnits = ctx->Const.MaxTextureUnits;
/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()
/third_party/mesa3d/src/mesa/main/
Dcontext.c473 consts->MaxTextureUnits = MIN2(consts->MaxTextureCoordUnits, in _mesa_init_constants()
695 assert(ctx->Const.MaxTextureUnits > 0); in check_context_limits()
696 assert(ctx->Const.MaxTextureUnits <= MAX_TEXTURE_IMAGE_UNITS); in check_context_limits()
697 assert(ctx->Const.MaxTextureUnits <= MAX_TEXTURE_COORD_UNITS); in check_context_limits()
698 …assert(ctx->Const.MaxTextureUnits == MIN2(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImage… in check_context_limits()
Datifragshader.c454 ((dst - GL_REG_0_ATI) >= ctx->Const.MaxTextureUnits)) { in _mesa_PassTexCoordATI()
460 ((coord - GL_TEXTURE0_ARB) >= ctx->Const.MaxTextureUnits))) { in _mesa_PassTexCoordATI()
527 ((dst - GL_REG_0_ATI) >= ctx->Const.MaxTextureUnits)) { in _mesa_SampleMapATI()
533 ((interp - GL_TEXTURE0_ARB) >= ctx->Const.MaxTextureUnits))) { in _mesa_SampleMapATI()
Dattrib.c191 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) { in _mesa_PushAttrib()
493 for (i = 0; i < ctx->Const.MaxTextureUnits; i++) { in pop_enable_group()
542 for (u = 0; u < ctx->Const.MaxTextureUnits; u++) { in pop_texture_group()
1073 for (unsigned i = 0; i < ctx->Const.MaxTextureUnits; i++) { in _mesa_PopAttrib()
/third_party/mesa3d/src/mesa/swrast/
Ds_texcombine.c192 assert(srcUnit < ctx->Const.MaxTextureUnits); in texture_combine()
282 assert(srcUnit < ctx->Const.MaxTextureUnits); in texture_combine()
651 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) { in _swrast_texture_span()
715 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) { in _swrast_texture_span()

12