HomeSort by: relevance | last modified time | path
    Searched refs:half (Results 1 - 25 of 91) sorted by relevancy

1 2 3 4

  /xsrc/external/mit/mesa-demos/dist/src/trivial/
quad-offset-factor.c 64 static void quad( float half )
67 glVertex3f( half/9.0, -half/9.0, -25.0 + half);
68 glVertex3f( half/9.0, half/9.0, -25.0 + half);
69 glVertex3f(-half/9.0, half/9.0, -25.0 - half);
    [all...]
quad-offset-units.c 64 static void quad( float half )
67 glVertex3f( half/9.0, -half/9.0, -25.0 + half);
68 glVertex3f( half/9.0, half/9.0, -25.0 + half);
69 glVertex3f(-half/9.0, half/9.0, -25.0 - half);
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/perf/
copytex.c 142 GLsizei half = TexSize / 2; local
145 0, 0, 0, 0, half, half);
148 half, 0, half, 0, half, half);
151 0, half, 0, half, half, half)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
midgard_print_constant.c 34 midgard_reg_mode reg_mode, bool half,
63 if (half)
88 if (half && mod == midgard_int_zero_extend)
90 else if (half && mod == midgard_int_left_shift)
99 if (half && mod == midgard_int_left_shift)
119 if (half && mod == midgard_int_zero_extend)
121 else if (half && mod == midgard_int_left_shift)
130 if (half && mod == midgard_int_left_shift)
152 assert(!half); /* No 4-bit */
midgard_print.c 118 bool half = (sz == (base_size >> 1)); local
143 half, mod, ins->op);
  /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
ir3_nir_lower_load_barycentric_at_sample.c 59 nir_ssa_def *half = nir_imm_float(b, 0.5); local
60 return nir_fadd(b, pos, nir_vec2(b, half, half));
ir3_ra.c 116 /* We disallow trees where different members have different half-ness.
119 * in mergedregs mode, and count as 4 half-units of register pressure
128 * has been bitcasted as a half-reg? Would that element alone have to
129 * be small enough to be used as a half-reg source? Let's keep that
352 * half of this file too.
357 struct ra_file half; member in struct:ra_ctx
655 mesa_log_stream_printf(stream, "half:\n");
656 ra_file_dump(stream, &ctx->half);
665 /* Half-regs can only take up the first half of the combined regfile *
    [all...]
ir3.h 528 /* Indicates if half-precision */
529 bool half; member in struct:ir3_array
732 void ir3_set_dst_type(struct ir3_instruction *instr, bool half);
1485 /* Note: these are only identical when the sources are half, but that's
1701 /* creates SSA src of correct type (ie. half vs full precision) */
2223 __regmask_get(regmask_t *regmask, bool half, unsigned n)
2227 * of half-precision registers, with a full precisions register
2228 * using two half-precision slots.
2233 if (half && !is_reg_num_special(n)) {
2241 /* pre a6xx case, with separate register file for half and ful
2321 bool half = reg->flags & IR3_REG_HALF; local
2335 bool half = reg->flags & IR3_REG_HALF; local
    [all...]
ir3_spill.c 395 ctx->cur_pressure.half += size;
422 ctx->cur_pressure.half -= size;
512 ctx->max_pressure.half = MAX2(ctx->max_pressure.half, max);
710 if (ctx->cur_pressure.half > ctx->limit_pressure.half) {
711 d("cur half pressure %u exceeds %u", ctx->cur_pressure.half,
712 ctx->limit_pressure.half);
721 if (ctx->cur_pressure.half <= ctx->limit_pressure.half
    [all...]
ir3_ra_validate.c 89 struct file_state half, full, shared; member in struct:reaching_state
196 progress |= merge_file(&dst->half, &src->half, ctx->half_size);
215 return &ctx->reaching.half;
519 start->half.regs[i].def = UNDEF;
  /xsrc/external/mit/x11perf/dist/
do_lines.c 33 int half; /* Half of width if wide line */ local
51 half = (size + 19) / 20;
65 x = half;
66 y = half;
108 if (y < half || y >= (HEIGHT-half) || rows > MAXROWS) {
111 if (x + size < WIDTH - half) {
117 if (x - size > half) {
132 if (y < half) {
    [all...]
do_arcs.c 38 int half; local
47 half = (size + 19) / 20;
49 x = xorg = half; y = yorg = half;
71 if (y >= HEIGHT - size - half || rows == MAXROWS) {
77 if (yorg >= size + half || yorg >= HEIGHT - size - half) {
78 yorg = half;
80 if (xorg >= size + half || xorg >= WIDTH - size - half) {
239 int half; local
    [all...]
do_segs.c 33 int half; local
51 half = (size + 19) / 20;
68 x = half; y = half;
141 if (y >= HEIGHT - size - half || rows == MAXROWS) {
144 y = half;
146 if (x >= WIDTH - size - half) {
147 x = half;
  /xsrc/external/mit/MesaLib/dist/src/freedreno/computerator/examples/
test-opcodes.sh 3 # Test various instructions to check whether half<->full widening/narrowing
12 # edge cases, while still not loosing precision in a full->half->full
110 echo '; control, half->half:'
112 echo '; test, full->half:'
117 echo '; test, half->full:'
144 stib.untyped.1d.u32.1 r2.y, r3.y, 0 ; test: half->full
145 stib.untyped.1d.u32.1 r2.z, r3.z, 0 ; control: half->half
146 stib.untyped.1d.u32.1 r2.w, r3.w, 0 ; test: full->half
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/
ir3_nir_lower_load_barycentric_at_sample.c 77 nir_ssa_def *half = nir_imm_float(b, 0.5); local
78 pos = nir_fadd(b, pos, nir_vec2(b, half, half));
  /xsrc/external/mit/brotli/dist/c/common/
constants.h 145 uint32_t half; local
157 /* One bit is covered with subrange addressing ("half"). */
160 half = (offset >> ndistbits) & 1;
162 group = ((ndistbits - 1) << 1) | half;
172 /* After group was decremented, ndistbits and half must be recalculated. */
  /xsrc/external/mit/mesa-demos/dist/src/tests/
texcompsub.c 38 const int half = ImgSize / 2; local
43 /* bottom half */
51 memcpy(&ImgDataTemp[i * ImgWidth], &ImgData[half + i * 2 * ImgWidth], ImgWidth);
60 memcpy(&ImgDataTemp[i * ImgWidth], &ImgData[half + i * 2 * ImgWidth + ImgWidth], ImgWidth);
  /xsrc/external/mit/xf86-video-ati-kms/dist/src/
bicubic_table.py 5 def half(i): function
56 seq = [ hex(half(i)) for i in seq ]
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/
sdksyms.sh 51 /* Xext/Makefile.am -- half is module, half is builtin */
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/loader/
sdksyms.sh 48 /* Xext/Makefile.am -- half is module, half is builtin */
  /xsrc/external/mit/freetype/dist/src/base/
fttrigon.c 399 FT_Int32 half = (FT_Int32)1L << ( shift - 1 ); local
402 vec->x = ( v.x + half - ( v.x < 0 ) ) >> shift;
403 vec->y = ( v.y + half - ( v.y < 0 ) ) >> shift;
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
ffvertex_prog.c 1158 struct ureg half = undef; local
1194 half = get_temp(p);
1195 emit_op2(p, OPCODE_SUB, half, 0, VPpli, eye_hat);
1196 emit_normalize_vec3(p, half, half);
1198 half = register_param2(p, STATE_LIGHT_HALF_VECTOR, i);
1201 half = get_temp(p);
1202 emit_op2(p, OPCODE_ADD, half, 0, VPpli, z_dir);
1203 emit_normalize_vec3(p, half, half);
1430 struct ureg half = register_scalar_const(p, .5); local
    [all...]
texcompress_bptc_tmp.h 1564 /* Clamp the endpoints to the range of a half float and strip out
1652 int half; local
1655 half = _mesa_float_to_half(value);
1657 if (half & 0x8000) {
1658 half &= 0x7fff;
1662 half = (32 * half / 31) >> 6;
1665 half = -half & ((1 << 10) - 1);
1667 return half;
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
ffvertex_prog.c 1104 struct ureg half = undef; local
1142 half = get_temp(p);
1143 emit_op2(p, OPCODE_SUB, half, 0, VPpli, eye_hat);
1144 emit_normalize_vec3(p, half, half);
1146 half = register_param3(p, STATE_INTERNAL,
1150 half = get_temp(p);
1151 emit_op2(p, OPCODE_ADD, half, 0, VPpli, z_dir);
1152 emit_normalize_vec3(p, half, half);
1355 struct ureg half = register_scalar_const(p, .5); local
    [all...]
texcompress_bptc_tmp.h 1567 /* Clamp the endpoints to the range of a half float and strip out
1655 int half; local
1658 half = _mesa_float_to_half(value);
1660 if (half & 0x8000) {
1661 half &= 0x7fff;
1665 half = (32 * half / 31) >> 6;
1668 half = -half & ((1 << 10) - 1);
1670 return half;
    [all...]

Completed in 49 milliseconds

1 2 3 4