Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_fog.c67 #define LINEAR_FOG(f, coord) f = (fogEnd - coord) * fogScale
165 const GLfloat fogScale = (ctx->Fog.Start == ctx->Fog.End) in _swrast_fog_rgba_span() local
/external/swiftshader/src/Renderer/
DPixelProcessor.cpp949 float fogScale = -1.0f / (end - start); in setFogRanges() local
950 float fogOffset = end * -fogScale; in setFogRanges()
952 fog.scale = replicate(fogScale); in setFogRanges()