Searched refs:frtemp (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dlower_instructions.cpp916 * frtemp = frac(x);
917 * temp = sub(x, frtemp);
918 * result = temp + ((frtemp != 0.0) ? 1.0 : 0.0);
923 ir_variable *frtemp = new(ir) ir_variable(ir->operands[0]->type, "frtemp", local in function:lower_instructions_visitor::dceil_to_dfrac
926 i.insert_before(frtemp);
927 i.insert_before(assign(frtemp, fract(ir->operands[0])));
931 ir->operands[0] = sub(ir->operands[0]->clone(ir, NULL), frtemp);
932 ir->operands[1] = csel(nequal(frtemp, zero), one, zero->clone(ir, NULL));
941 * frtemp
965 ir_variable *frtemp = new(ir) ir_variable(ir->operands[0]->type, "frtemp", local in function:lower_instructions_visitor::dround_even_to_dfrac
1010 ir_variable *frtemp = new(ir) ir_variable(arg->type, "frtemp", local in function:lower_instructions_visitor::dtrunc_to_dfrac
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlower_instructions.cpp908 * frtemp = frac(x);
909 * temp = sub(x, frtemp);
910 * result = temp + ((frtemp != 0.0) ? 1.0 : 0.0);
915 ir_variable *frtemp = new(ir) ir_variable(ir->operands[0]->type, "frtemp", local in function:lower_instructions_visitor::dceil_to_dfrac
918 i.insert_before(frtemp);
919 i.insert_before(assign(frtemp, fract(ir->operands[0])));
923 ir->operands[0] = sub(ir->operands[0]->clone(ir, NULL), frtemp);
924 ir->operands[1] = csel(nequal(frtemp, zero), one, zero->clone(ir, NULL));
933 * frtemp
957 ir_variable *frtemp = new(ir) ir_variable(ir->operands[0]->type, "frtemp", local in function:lower_instructions_visitor::dround_even_to_dfrac
1002 ir_variable *frtemp = new(ir) ir_variable(arg->type, "frtemp", local in function:lower_instructions_visitor::dtrunc_to_dfrac
[all...]

Completed in 5 milliseconds