Searched refs:rFog (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/mesa/swrast/ |
D | s_fog.c | 99 rgba[i][RCOMP] = (TYPE) (f * rgba[i][RCOMP] + oneMinusF * rFog); \ 116 rgba[i][RCOMP] = (TYPE) (f * rgba[i][RCOMP] + oneMinusF * rFog); \ 135 GLfloat rFog, gFog, bFog; in _swrast_fog_rgba_span() local 142 rFog = ctx->Fog.Color[RCOMP] * 255.0F; in _swrast_fog_rgba_span() 147 rFog = ctx->Fog.Color[RCOMP] * 65535.0F; in _swrast_fog_rgba_span() 152 rFog = ctx->Fog.Color[RCOMP]; in _swrast_fog_rgba_span()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_ff.c | 1501 struct ureg_dst rFog = ureg_writemask(ps.rTmp, TGSI_WRITEMASK_X); in nine_ff_build_ps() local 1522 ureg_MOV(ureg, rFog, _ZZZZ(vPos)); in nine_ff_build_ps() 1525 ureg_RCP(ureg, rFog, _WWWW(vPos)); in nine_ff_build_ps() 1528 ureg_MUL(ureg, rFog, _X(rFog), _ZZZZ(_CONST(22))); in nine_ff_build_ps() 1529 ureg_MUL(ureg, rFog, _X(rFog), ureg_imm1f(ureg, -1.442695f)); in nine_ff_build_ps() 1530 ureg_EX2(ureg, rFog, _X(rFog)); in nine_ff_build_ps() 1533 ureg_MUL(ureg, rFog, _X(rFog), _ZZZZ(_CONST(22))); in nine_ff_build_ps() 1534 ureg_MUL(ureg, rFog, _X(rFog), _X(rFog)); in nine_ff_build_ps() 1535 ureg_MUL(ureg, rFog, _X(rFog), ureg_imm1f(ureg, -1.442695f)); in nine_ff_build_ps() 1536 ureg_EX2(ureg, rFog, _X(rFog)); in nine_ff_build_ps() [all …]
|