Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c3711 struct ureg_dst fog_factor, depth; in shader_add_ps_fog_stage() local
3727 fog_factor = tx_scratch_scalar(tx); in shader_add_ps_fog_stage()
3732 ureg_ADD(ureg, fog_factor, fog_end, ureg_negate(ureg_src(depth))); in shader_add_ps_fog_stage()
3733 ureg_MUL(ureg, ureg_saturate(fog_factor), tx_src_scalar(fog_factor), fog_coeff); in shader_add_ps_fog_stage()
3736 ureg_MUL(ureg, fog_factor, ureg_src(depth), fog_density); in shader_add_ps_fog_stage()
3737 ureg_MUL(ureg, fog_factor, tx_src_scalar(fog_factor), ureg_imm1f(ureg, -1.442695f)); in shader_add_ps_fog_stage()
3738 ureg_EX2(ureg, fog_factor, tx_src_scalar(fog_factor)); in shader_add_ps_fog_stage()
3741 ureg_MUL(ureg, fog_factor, ureg_src(depth), fog_density); in shader_add_ps_fog_stage()
3742 ureg_MUL(ureg, fog_factor, tx_src_scalar(fog_factor), tx_src_scalar(fog_factor)); in shader_add_ps_fog_stage()
3743 ureg_MUL(ureg, fog_factor, tx_src_scalar(fog_factor), ureg_imm1f(ureg, -1.442695f)); in shader_add_ps_fog_stage()
[all …]