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.c112 dst->Texture.FixedFuncUnit[u].GenT = src->Texture.FixedFuncUnit[u].GenT; in _mesa_copy_texture_state()
626 texUnit->_GenFlags |= texUnit->GenT._ModeBit; in update_texgen()
1048 texUnit->GenT.Mode = GL_EYE_LINEAR; in _mesa_init_texture()
1052 texUnit->GenT._ModeBit = TEXGEN_EYE_LINEAR; in _mesa_init_texture()
1058 ASSIGN_4V( texUnit->GenT.ObjectPlane, 0.0, 1.0, 0.0, 0.0 ); in _mesa_init_texture()
1062 ASSIGN_4V( texUnit->GenT.EyePlane, 0.0, 1.0, 0.0, 0.0 ); in _mesa_init_texture()
Drastpos.c328 switch (texUnit->GenT.Mode) { in compute_texgen()
330 texcoord[1] = DOT4(vObj, texUnit->GenT.ObjectPlane); in compute_texgen()
333 texcoord[1] = DOT4(vEye, texUnit->GenT.EyePlane); in compute_texgen()
Dattrib.c826 _mesa_TexGeni(GL_T, GL_TEXTURE_GEN_MODE, unit->GenT.Mode); in pop_texture_group()
830 _mesa_TexGenfv(GL_T, GL_OBJECT_PLANE, unit->GenT.ObjectPlane); in pop_texture_group()
839 COPY_4FV(destUnit->GenT.EyePlane, unit->GenT.EyePlane); in pop_texture_group()
844 ctx->Driver.TexGen(ctx, GL_T, GL_EYE_PLANE, unit->GenT.EyePlane); in pop_texture_group()
Dtexgen.c65 return &texUnit->GenT; in get_texgen()
Dcontext.c1283 texUnit->GenT.Mode = GL_REFLECTION_MAP_NV; in _mesa_initialize_context()
1286 texUnit->GenT._ModeBit = TEXGEN_REFLECTION_MAP_NV; in _mesa_initialize_context()
Dffvertex_prog.c257 texUnit->GenT.Mode ); in make_state_key()
Dmtypes.h1218 struct gl_texgen GenT; member
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_texstate.c1123 if (texUnit->GenT.Mode != mode) in r200_validate_texgen()
1145 texUnit->TexGenEnabled, texUnit->GenS.Mode, texUnit->GenT.Mode, in r200_validate_texgen()
1165 texUnit->GenT.ObjectPlane, in r200_validate_texgen()
1184 (texUnit->TexGenEnabled & T_BIT) ? texUnit->GenT.ObjectPlane : I + 4, in r200_validate_texgen()
1193 texUnit->GenT.EyePlane, in r200_validate_texgen()
1211 (texUnit->TexGenEnabled & T_BIT) ? texUnit->GenT.EyePlane : I + 4, in r200_validate_texgen()
/external/mesa3d/src/mesa/tnl/
Dt_vb_texgen.c402 switch (texUnit->GenT.Mode) { in texgen()
406 texUnit->GenT.ObjectPlane ); in texgen()
411 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.c826 (texUnit->GenS.Mode == texUnit->GenT.Mode) ) { in radeon_validate_texgen()
859 texUnit->GenT.ObjectPlane, in radeon_validate_texgen()
868 texUnit->GenT.EyePlane, in radeon_validate_texgen()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c221 COPY_4V(value, ctx->Texture.FixedFuncUnit[unit].GenT.EyePlane); in fetch_state()
233 COPY_4V(value, ctx->Texture.FixedFuncUnit[unit].GenT.ObjectPlane); in fetch_state()