Home
last modified time | relevance | path

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

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