Home
last modified time | relevance | path

Searched refs:GenT (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/
DRandom.h22 template <typename T, typename GenT> T uniform(GenT &Gen, T Min, T Max) { in uniform()
27 template <typename T, typename GenT> T uniform(GenT &Gen) { in uniform()
34 template <typename T, typename GenT> class ReservoirSampler {
35 GenT &RandGen;
40 ReservoirSampler(GenT &RandGen) : RandGen(RandGen) {} in ReservoirSampler()
73 template <typename GenT, typename RangeT,
76 ReservoirSampler<ElT, GenT> makeSampler(GenT &RandGen, RangeT &&Items) { in makeSampler()
77 ReservoirSampler<ElT, GenT> RS(RandGen); in makeSampler()
82 template <typename GenT, typename T>
83 ReservoirSampler<T, GenT> makeSampler(GenT &RandGen, const T &Item, in makeSampler()
[all …]
/external/mesa3d/src/mesa/main/
Dtexstate.c86 dst->Texture.Unit[u].GenT = src->Texture.Unit[u].GenT; in _mesa_copy_texture_state()
620 texUnit->_GenFlags |= texUnit->GenT._ModeBit; in update_texgen()
1003 texUnit->GenT.Mode = GL_EYE_LINEAR; in init_texture_unit()
1007 texUnit->GenT._ModeBit = TEXGEN_EYE_LINEAR; in init_texture_unit()
1013 ASSIGN_4V( texUnit->GenT.ObjectPlane, 0.0, 1.0, 0.0, 0.0 ); in init_texture_unit()
1017 ASSIGN_4V( texUnit->GenT.EyePlane, 0.0, 1.0, 0.0, 0.0 ); in init_texture_unit()
Drastpos.c309 switch (texUnit->GenT.Mode) { in compute_texgen()
311 texcoord[1] = DOT4(vObj, texUnit->GenT.ObjectPlane); in compute_texgen()
314 texcoord[1] = DOT4(vEye, texUnit->GenT.EyePlane); in compute_texgen()
Dattrib.c779 _mesa_TexGeni(GL_T, GL_TEXTURE_GEN_MODE, unit->GenT.Mode); in pop_texture_group()
783 _mesa_TexGenfv(GL_T, GL_OBJECT_PLANE, unit->GenT.ObjectPlane); in pop_texture_group()
790 COPY_4FV(destUnit->GenT.EyePlane, unit->GenT.EyePlane); in pop_texture_group()
795 ctx->Driver.TexGen(ctx, GL_T, GL_EYE_PLANE, unit->GenT.EyePlane); in pop_texture_group()
Dtexgen.c59 return &texUnit->GenT; in get_texgen()
Dcontext.c1270 texUnit->GenT.Mode = GL_REFLECTION_MAP_NV; in _mesa_initialize_context()
1273 texUnit->GenT._ModeBit = TEXGEN_REFLECTION_MAP_NV; in _mesa_initialize_context()
Dffvertex_prog.c263 texUnit->GenT.Mode ); in make_state_key()
Dmtypes.h1250 struct gl_texgen GenT; member
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_texstate.c1124 if (texUnit->GenT.Mode != mode) in r200_validate_texgen()
1146 texUnit->TexGenEnabled, texUnit->GenS.Mode, texUnit->GenT.Mode, in r200_validate_texgen()
1166 texUnit->GenT.ObjectPlane, in r200_validate_texgen()
1185 (texUnit->TexGenEnabled & T_BIT) ? texUnit->GenT.ObjectPlane : I + 4, in r200_validate_texgen()
1194 texUnit->GenT.EyePlane, in r200_validate_texgen()
1212 (texUnit->TexGenEnabled & T_BIT) ? texUnit->GenT.EyePlane : I + 4, in r200_validate_texgen()
/external/mesa3d/src/mesa/tnl/
Dt_vb_texgen.c400 switch (texUnit->GenT.Mode) { in texgen()
404 texUnit->GenT.ObjectPlane ); in texgen()
409 texUnit->GenT.EyePlane ); in texgen()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_util.h199 { &u->GenS, &u->GenT, &u->GenR, &u->GenQ }) [i]; in get_texgen_coord()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texstate.c830 (texUnit->GenS.Mode == texUnit->GenT.Mode) ) { in radeon_validate_texgen()
863 texUnit->GenT.ObjectPlane, in radeon_validate_texgen()
872 texUnit->GenT.EyePlane, in radeon_validate_texgen()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c221 COPY_4V(value, ctx->Texture.Unit[unit].GenT.EyePlane); in _mesa_fetch_state()
233 COPY_4V(value, ctx->Texture.Unit[unit].GenT.ObjectPlane); in _mesa_fetch_state()