Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/
DGLES1Shaders.inc350 uniform float fog_density;
555 f = exp(-fog_density * eyeDist);
558 f = exp(-(pow(fog_density * eyeDist, 2.0)));
/external/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c3709 struct ureg_src fog_end, fog_coeff, fog_density, fog_params; in shader_add_ps_fog_stage() local
3735 fog_density = NINE_APPLY_SWIZZLE(fog_params, X); in shader_add_ps_fog_stage()
3736 ureg_MUL(ureg, fog_factor, ureg_src(depth), fog_density); in shader_add_ps_fog_stage()
3740 fog_density = NINE_APPLY_SWIZZLE(fog_params, X); in shader_add_ps_fog_stage()
3741 ureg_MUL(ureg, fog_factor, ureg_src(depth), fog_density); in shader_add_ps_fog_stage()