Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DGLES1Shaders.inc353 uniform float fog_density;
551 f = exp(-fog_density * eyeDist);
554 f = exp(-(pow(fog_density * eyeDist, 2.0)));
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c3738 struct ureg_src fog_end, fog_coeff, fog_density, fog_params; in shader_add_ps_fog_stage() local
3764 fog_density = NINE_APPLY_SWIZZLE(fog_params, X); in shader_add_ps_fog_stage()
3765 ureg_MUL(ureg, fog_factor, ureg_src(depth), fog_density); in shader_add_ps_fog_stage()
3769 fog_density = NINE_APPLY_SWIZZLE(fog_params, X); in shader_add_ps_fog_stage()
3770 ureg_MUL(ureg, fog_factor, ureg_src(depth), fog_density); in shader_add_ps_fog_stage()