Searched refs:fog_factor (Results 1 – 1 of 1) sorted by relevance
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | nine_shader.c | 3740 struct ureg_dst fog_factor, depth; in shader_add_ps_fog_stage() local 3756 fog_factor = tx_scratch_scalar(tx); in shader_add_ps_fog_stage() 3761 ureg_ADD(ureg, fog_factor, fog_end, ureg_negate(ureg_src(depth))); in shader_add_ps_fog_stage() 3762 ureg_MUL(ureg, ureg_saturate(fog_factor), tx_src_scalar(fog_factor), fog_coeff); in shader_add_ps_fog_stage() 3765 ureg_MUL(ureg, fog_factor, ureg_src(depth), fog_density); in shader_add_ps_fog_stage() 3766 ureg_MUL(ureg, fog_factor, tx_src_scalar(fog_factor), ureg_imm1f(ureg, -1.442695f)); in shader_add_ps_fog_stage() 3767 ureg_EX2(ureg, fog_factor, tx_src_scalar(fog_factor)); in shader_add_ps_fog_stage() 3770 ureg_MUL(ureg, fog_factor, ureg_src(depth), fog_density); in shader_add_ps_fog_stage() 3771 ureg_MUL(ureg, fog_factor, tx_src_scalar(fog_factor), tx_src_scalar(fog_factor)); in shader_add_ps_fog_stage() 3772 ureg_MUL(ureg, fog_factor, tx_src_scalar(fog_factor), ureg_imm1f(ureg, -1.442695f)); in shader_add_ps_fog_stage() [all …]
|