Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_shader.c3438 struct ureg_dst fog_factor; in shader_add_ps_fog_stage() local
3452 fog_factor = tx_scratch_scalar(tx); in shader_add_ps_fog_stage()
3457 ureg_ADD(ureg, fog_factor, fog_end, ureg_negate(depth)); in shader_add_ps_fog_stage()
3458 ureg_MUL(ureg, ureg_saturate(fog_factor), tx_src_scalar(fog_factor), fog_coeff); in shader_add_ps_fog_stage()
3461 ureg_MUL(ureg, fog_factor, depth, fog_density); in shader_add_ps_fog_stage()
3462 ureg_MUL(ureg, fog_factor, tx_src_scalar(fog_factor), ureg_imm1f(ureg, -1.442695f)); in shader_add_ps_fog_stage()
3463 ureg_EX2(ureg, fog_factor, tx_src_scalar(fog_factor)); in shader_add_ps_fog_stage()
3466 ureg_MUL(ureg, fog_factor, depth, fog_density); in shader_add_ps_fog_stage()
3467 ureg_MUL(ureg, fog_factor, tx_src_scalar(fog_factor), tx_src_scalar(fog_factor)); in shader_add_ps_fog_stage()
3468 ureg_MUL(ureg, fog_factor, tx_src_scalar(fog_factor), ureg_imm1f(ureg, -1.442695f)); in shader_add_ps_fog_stage()
[all …]