Searched refs:lsb_only (Results 1 - 2 of 2) sorted by relevance
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | lower_instructions.cpp | 1348 ir_variable *lsb_only = local in function:lower_instructions_visitor::find_lsb_to_float_cast 1349 new(ir) ir_variable(glsl_type::uvec(elements), "lsb_only", ir_var_temporary); 1371 * uint lsb_only = uint(value & -value); 1372 * float as_float = float(lsb_only); 1374 i.insert_before(lsb_only); 1375 i.insert_before(assign(lsb_only, i2u(bit_and(temp, neg(temp))))); 1378 i.insert_before(assign(as_float, u2f(lsb_only))); 1395 /* Use lsb_only in the comparison instead of temp so that the & (far above) 1398 * (lsb_only == 0) ? -1 : lsb; 1401 * be negative. It will only be negative (-0x7f, in fact) if lsb_only i [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | lower_instructions.cpp | 1340 ir_variable *lsb_only = local in function:lower_instructions_visitor::find_lsb_to_float_cast 1341 new(ir) ir_variable(glsl_type::uvec(elements), "lsb_only", ir_var_temporary); 1363 * uint lsb_only = uint(value & -value); 1364 * float as_float = float(lsb_only); 1366 i.insert_before(lsb_only); 1367 i.insert_before(assign(lsb_only, i2u(bit_and(temp, neg(temp))))); 1370 i.insert_before(assign(as_float, u2f(lsb_only))); 1387 /* Use lsb_only in the comparison instead of temp so that the & (far above) 1390 * (lsb_only == 0) ? -1 : lsb; 1393 * be negative. It will only be negative (-0x7f, in fact) if lsb_only i [all...] |
Completed in 7 milliseconds