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