Home
last modified time | relevance | path

Searched refs:FixedFuncUnit (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dtexstate.c107 dst->Texture.FixedFuncUnit[u].Enabled = src->Texture.FixedFuncUnit[u].Enabled; in _mesa_copy_texture_state()
108 dst->Texture.FixedFuncUnit[u].EnvMode = src->Texture.FixedFuncUnit[u].EnvMode; in _mesa_copy_texture_state()
109 COPY_4V(dst->Texture.FixedFuncUnit[u].EnvColor, src->Texture.FixedFuncUnit[u].EnvColor); in _mesa_copy_texture_state()
110 dst->Texture.FixedFuncUnit[u].TexGenEnabled = src->Texture.FixedFuncUnit[u].TexGenEnabled; in _mesa_copy_texture_state()
111 dst->Texture.FixedFuncUnit[u].GenS = src->Texture.FixedFuncUnit[u].GenS; in _mesa_copy_texture_state()
112 dst->Texture.FixedFuncUnit[u].GenT = src->Texture.FixedFuncUnit[u].GenT; in _mesa_copy_texture_state()
113 dst->Texture.FixedFuncUnit[u].GenR = src->Texture.FixedFuncUnit[u].GenR; in _mesa_copy_texture_state()
114 dst->Texture.FixedFuncUnit[u].GenQ = src->Texture.FixedFuncUnit[u].GenQ; in _mesa_copy_texture_state()
115 memcpy(dst->Texture.FixedFuncUnit[u].ObjectPlane, in _mesa_copy_texture_state()
116 src->Texture.FixedFuncUnit[u].ObjectPlane, in _mesa_copy_texture_state()
[all …]
Dtexstate.h66 if (unit >= ARRAY_SIZE(ctx->Texture.FixedFuncUnit)) in _mesa_get_fixedfunc_tex_unit()
69 return &ctx->Texture.FixedFuncUnit[unit]; in _mesa_get_fixedfunc_tex_unit()
Dtexgen.c92 struct gl_fixedfunc_texture_unit *unit = &ctx->Texture.FixedFuncUnit[texunitIndex]; in texgenfv()
197 struct gl_fixedfunc_texture_unit *unit = &ctx->Texture.FixedFuncUnit[texunitIndex]; in gettexgendv()
230 struct gl_fixedfunc_texture_unit *unit = &ctx->Texture.FixedFuncUnit[texunitIndex]; in gettexgenfv()
271 struct gl_fixedfunc_texture_unit *unit = &ctx->Texture.FixedFuncUnit[texunitIndex]; in gettexgeniv()
Dattrib.c193 attr->Texture[i] = ctx->Texture.FixedFuncUnit[i].Enabled; in _mesa_PushAttrib()
194 attr->TexGen[i] = ctx->Texture.FixedFuncUnit[i].TexGenEnabled; in _mesa_PushAttrib()
261 memcpy(&head->Texture.FixedFuncUnit, &ctx->Texture.FixedFuncUnit, in _mesa_PushAttrib()
262 sizeof(ctx->Texture.FixedFuncUnit)); in _mesa_PushAttrib()
497 const struct gl_fixedfunc_texture_unit *unit = &ctx->Texture.FixedFuncUnit[i]; in pop_enable_group()
543 &texstate->FixedFuncUnit[u]; in pop_texture_group()
545 &ctx->Texture.FixedFuncUnit[u]; in pop_texture_group()
Drastpos.c294 &ctx->Texture.FixedFuncUnit[unit]; in compute_texgen()
512 if (ctx->Texture.FixedFuncUnit[u].TexGenEnabled) { in _mesa_RasterPos()
Dcontext.c1066 for (i = 0; i < ARRAY_SIZE(ctx->Texture.FixedFuncUnit); i++) { in _mesa_initialize_context()
1068 &ctx->Texture.FixedFuncUnit[i]; in _mesa_initialize_context()
Dmtypes.h1325 struct gl_fixedfunc_texture_unit FixedFuncUnit[MAX_TEXTURE_COORD_UNITS]; member
3195 struct gl_fixedfunc_texture_unit FixedFuncUnit[MAX_TEXTURE_COORD_UNITS]; member
Dff_fragment_shader.cpp275 &ctx->Texture.FixedFuncUnit[i]._CurrentCombinePacked; in make_state_key()
Dget.c1643 if (ctx->Texture.CurrentUnit < ARRAY_SIZE(ctx->Texture.FixedFuncUnit)) { in find_value()
1645 *p = ((char *)&ctx->Texture.FixedFuncUnit[index] + d->offset); in find_value()
Denable.c311 return &ctx->Texture.FixedFuncUnit[ctx->Texture.CurrentUnit]; in get_texcoord_unit()
Dffvertex_prog.c252 &ctx->Texture.FixedFuncUnit[i]; in make_state_key()
/third_party/mesa3d/src/mesa/program/
Dprog_statevars.c290 const float *attr = (float*)ctx->Texture.FixedFuncUnit[unit].EyePlane + in fetch_state()
300 COPY_4V(value, ctx->Texture.FixedFuncUnit[unit].EnvColor); in fetch_state()
302 COPY_4V(value, ctx->Texture.FixedFuncUnit[unit].EnvColorUnclamped); in fetch_state()