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

/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/wgl/
H A Dstw_wgl.c243 one.fract = 0;
245 minus_one.fract = 0;
247 zero.fract = 0;
/xsrc/external/mit/MesaLib/dist/src/gallium/targets/libgl-gdi/
H A Dstw_wgl.c232 one.fract = 0;
234 minus_one.fract = 0;
236 zero.fract = 0;
/xsrc/external/mit/xedit/dist/lisp/
H A Dwrite.c666 char stk[64], fmt[32], *ptr, *fract = NULL; local in function:parse_double
714 fract = strchr(ptr, '.');
715 if (fract)
716 *fract++ = '\0';
721 if (fract)
722 strcpy(buffer + strlen(buffer), fract);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/ir/pp/
H A Ddisasm.c392 CASE(fract, 1),
515 CASE(fract, 1),
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ir/pp/
H A Ddisasm.c427 CASE(fract, 1),
550 CASE(fract, 1),
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dir_builder.h145 ir_expression *fract(operand a);
H A Dlower_instructions.cpp92 * Note: before we used to implement this as op1 * fract(op / op1) but this
118 * Converts double trunc, ceil, floor, round to fract
927 i.insert_before(assign(frtemp, fract(ir->operands[0])));
946 ir->operands[1] = fract(ir->operands[0]->clone(ir, NULL));
979 i.insert_before(assign(frtemp, fract(temp)));
986 ir->operands[0] = equal(fract(ir->operands[0]->clone(ir, NULL)),
988 ir->operands[1] = csel(equal(fract(mul(t2, p5->clone(ir, NULL))),
1016 i.insert_before(assign(frtemp, fract(arg)));
H A Dir_builder.cpp259 ir_expression *fract(operand a) function in namespace:ir_builder
H A Dbuiltin_functions.cpp1040 BA1(fract)
1890 FD(fract)
5406 UNOPA(fract, ir_unop_fract)
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dir_builder.h145 ir_expression *fract(operand a);
H A Dlower_instructions.cpp91 * Note: before we used to implement this as op1 * fract(op / op1) but this
117 * Converts double trunc, ceil, floor, round to fract
919 i.insert_before(assign(frtemp, fract(ir->operands[0])));
938 ir->operands[1] = fract(ir->operands[0]->clone(ir, NULL));
971 i.insert_before(assign(frtemp, fract(temp)));
978 ir->operands[0] = equal(fract(ir->operands[0]->clone(ir, NULL)),
980 ir->operands[1] = csel(equal(fract(mul(t2, p5->clone(ir, NULL))),
1008 i.insert_before(assign(frtemp, fract(arg)));
H A Dir_builder.cpp259 ir_expression *fract(operand a) function in namespace:ir_builder
H A Dbuiltin_functions.cpp950 BA1(fract)
1712 FD(fract)
4917 UNOPA(fract, ir_unop_fract)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample_soa.c230 LLVMValueRef fract; local in function:lp_build_coord_mirror
240 fract = lp_build_round(coord_bld, coord);
241 fract = lp_build_sub(coord_bld, coord, fract);
242 coord = lp_build_add(coord_bld, fract, fract);
253 /* XXX: not safe without arch rounding, fract can be anything. */
280 /* wrap with normalized floats is just fract */
H A Dlp_bld_arit.c2422 clamp_fract(struct lp_build_context *bld, LLVMValueRef fract) argument
2429 return lp_build_min_ext(bld, fract, max,
2635 * Combined ifloor() & fract().
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample_soa.c240 LLVMValueRef fract; local in function:lp_build_coord_mirror
250 fract = lp_build_round(coord_bld, coord);
251 fract = lp_build_sub(coord_bld, coord, fract);
252 coord = lp_build_add(coord_bld, fract, fract);
263 /* XXX: not safe without arch rounding, fract can be anything. */
290 /* wrap with normalized floats is just fract */
H A Dlp_bld_arit.c2311 clamp_fract(struct lp_build_context *bld, LLVMValueRef fract) argument
2318 return lp_build_min_ext(bld, fract, max,
2524 * Combined ifloor() & fract().
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D19.1.0.rst1969 - nir/algebraic: Replace a-fract(a) with floor(a)
4303 - ac: use llvm.amdgcn.fract intrinsic for nir_op_ffract
4323 - ac: add 16-bit support to fract
H A D7.10.rst1815 - gallivm: Combined ifloor & fract helper.
H A D20.3.0.rst3378 - ac/llvm: fix amdgcn.fract for v2f16
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_instruction_selection.cpp1275 Temp fract = bld.vop1(aco_opcode::v_fract_f64, bld.def(v2), src0); local in function:aco::__anon562fcc110110::emit_floor_f64
1276 Temp min = bld.vop3(aco_opcode::v_min_f64, bld.def(v2), fract, min_val);

Completed in 92 milliseconds