Searched refs:fog_result (Results 1 – 1 of 1) sorted by relevance
913 ir_variable *fog_result = p->make_temp(glsl_type::vec4_type, "fog_result"); in emit_fog_instructions() local914 p->emit(assign(fog_result, fragcolor)); in emit_fog_instructions()916 fragcolor = swizzle_xyz(fog_result); in emit_fog_instructions()971 p->emit(assign(fog_result, add(temp, mul(fragcolor, f_var)), WRITEMASK_XYZ)); in emit_fog_instructions()973 return new(p->mem_ctx) ir_dereference_variable(fog_result); in emit_fog_instructions()