Home
last modified time | relevance | path

Searched refs:rFog (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_fog.c100 rgba[i][RCOMP] = (TYPE) (f * rgba[i][RCOMP] + oneMinusF * rFog); \
117 rgba[i][RCOMP] = (TYPE) (f * rgba[i][RCOMP] + oneMinusF * rFog); \
136 GLfloat rFog, gFog, bFog; in _swrast_fog_rgba_span() local
143 rFog = ctx->Fog.Color[RCOMP] * 255.0F; in _swrast_fog_rgba_span()
148 rFog = ctx->Fog.Color[RCOMP] * 65535.0F; in _swrast_fog_rgba_span()
153 rFog = ctx->Fog.Color[RCOMP]; in _swrast_fog_rgba_span()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_ff.c1504 struct ureg_dst rFog = ureg_writemask(ps.rTmp, TGSI_WRITEMASK_X); in nine_ff_build_ps() local
1525 ureg_MOV(ureg, rFog, _ZZZZ(vPos)); in nine_ff_build_ps()
1528 ureg_RCP(ureg, rFog, _WWWW(vPos)); in nine_ff_build_ps()
1531 ureg_MUL(ureg, rFog, _X(rFog), _ZZZZ(_CONST(22))); in nine_ff_build_ps()
1532 ureg_MUL(ureg, rFog, _X(rFog), ureg_imm1f(ureg, -1.442695f)); in nine_ff_build_ps()
1533 ureg_EX2(ureg, rFog, _X(rFog)); in nine_ff_build_ps()
1536 ureg_MUL(ureg, rFog, _X(rFog), _ZZZZ(_CONST(22))); in nine_ff_build_ps()
1537 ureg_MUL(ureg, rFog, _X(rFog), _X(rFog)); in nine_ff_build_ps()
1538 ureg_MUL(ureg, rFog, _X(rFog), ureg_imm1f(ureg, -1.442695f)); in nine_ff_build_ps()
1539 ureg_EX2(ureg, rFog, _X(rFog)); in nine_ff_build_ps()
[all …]