Searched refs:f_var (Results 1 – 1 of 1) sorted by relevance
926 ir_variable *f_var = p->make_temp(glsl_type::float_type, "fog_factor"); in emit_fog_instructions() local964 p->emit(assign(f_var, saturate(f))); in emit_fog_instructions()966 f = sub(new(p->mem_ctx) ir_constant(1.0f), f_var); in emit_fog_instructions()971 p->emit(assign(fog_result, add(temp, mul(fragcolor, f_var)), WRITEMASK_XYZ)); in emit_fog_instructions()