Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/glsl/
H A Dlower_instructions.cpp1113 ir_variable *lsb_only = in find_lsb_to_float_cast() local
1114 new(ir) ir_variable(glsl_type::uvec(elements), "lsb_only", ir_var_temporary); in find_lsb_to_float_cast()
1136 * uint lsb_only = uint(value & -value); in find_lsb_to_float_cast()
1137 * float as_float = float(lsb_only); in find_lsb_to_float_cast()
1139 i.insert_before(lsb_only); in find_lsb_to_float_cast()
1140 i.insert_before(assign(lsb_only, i2u(bit_and(temp, neg(temp))))); in find_lsb_to_float_cast()
1143 i.insert_before(assign(as_float, u2f(lsb_only))); in find_lsb_to_float_cast()
1160 /* Use lsb_only in the comparison instead of temp so that the & (far above) in find_lsb_to_float_cast()
1163 * (lsb_only == 0) ? -1 : lsb; in find_lsb_to_float_cast()
1166 * be negative. It will only be negative (-0x7f, in fact) if lsb_only i in find_lsb_to_float_cast()
[all...]

Completed in 3 milliseconds