Searched refs:fog_factor (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_shader.c | 3450 struct ureg_dst fog_factor; in shader_add_ps_fog_stage() local 3464 fog_factor = tx_scratch_scalar(tx); in shader_add_ps_fog_stage() 3469 ureg_ADD(ureg, fog_factor, fog_end, ureg_negate(depth)); in shader_add_ps_fog_stage() 3470 ureg_MUL(ureg, ureg_saturate(fog_factor), tx_src_scalar(fog_factor), fog_coeff); in shader_add_ps_fog_stage() 3473 ureg_MUL(ureg, fog_factor, depth, fog_density); in shader_add_ps_fog_stage() 3474 ureg_MUL(ureg, fog_factor, tx_src_scalar(fog_factor), ureg_imm1f(ureg, -1.442695f)); in shader_add_ps_fog_stage() 3475 ureg_EX2(ureg, fog_factor, tx_src_scalar(fog_factor)); in shader_add_ps_fog_stage() 3478 ureg_MUL(ureg, fog_factor, depth, fog_density); in shader_add_ps_fog_stage() 3479 ureg_MUL(ureg, fog_factor, tx_src_scalar(fog_factor), tx_src_scalar(fog_factor)); in shader_add_ps_fog_stage() 3480 ureg_MUL(ureg, fog_factor, tx_src_scalar(fog_factor), ureg_imm1f(ureg, -1.442695f)); in shader_add_ps_fog_stage() [all …]
|