lower_blend_equation_advanced.cpp | 219 ir_variable *llum = f->make_temp(glsl_type::float_type, "__blend_lum"); local 223 f->emit(assign(llum, lumv3(color))); 228 assign(color, add(llum, div(mul(sub(color, llum), llum), 229 sub(llum, mincol)))), 231 assign(color, add(llum, div(mul(sub(color, llum), 232 sub(imm3(1), llum)), 233 sub(maxcol, llum))))))); [all...] |