Home | History | Annotate | Download | only in glsl

Lines Matching defs:as_float

1268    ir_variable *as_float =
1269 new(ir) ir_variable(glsl_type::vec(elements), "as_float", ir_var_temporary);
1290 * float as_float = float(lsb_only);
1295 i.insert_before(as_float);
1296 i.insert_before(assign(as_float, u2f(lsb_only)));
1308 * int lsb = (floatBitsToInt(as_float) >> 23) - 0x7f;
1311 i.insert_before(assign(lsb, sub(rshift(bitcast_f2i(as_float), c23), c7F)));
1348 ir_variable *as_float =
1349 new(ir) ir_variable(glsl_type::vec(elements), "as_float", ir_var_temporary);
1394 * float as_float = float(temp > 255 ? temp & ~255 : temp);
1396 i.insert_before(as_float);
1397 i.insert_before(assign(as_float, u2f(csel(greater(temp, c000000FF),
1411 * int msb = (floatBitsToInt(as_float) >> 23) - 0x7f;
1414 i.insert_before(assign(msb, sub(rshift(bitcast_f2i(as_float), c23), c7F)));