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

1 2 3 4 5 6 7 8 91011>>

  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
gl_nir_link_atomics.c 198 struct active_atomic_buffer *abs = local
212 if (abs[binding].size == 0)
215 struct active_atomic_buffer *ab = abs + binding;
300 ralloc_free(abs);
308 struct active_atomic_buffer *abs = local
321 if (abs[i].size == 0)
324 qsort(abs[i].uniforms, abs[i].num_uniforms,
328 for (unsigned j = 1; j < abs[i].num_uniforms; j++) {
332 if (check_atomic_counters_overlap(abs[i].uniforms[j-1].var
    [all...]
int64.glsl 97 uvec2 n = unpackUint2x32(uint64_t(abs(packInt2x32(_n))));
98 uvec2 d = unpackUint2x32(uint64_t(abs(packInt2x32(_d))));
115 uvec2 n = unpackUint2x32(uint64_t(abs(packInt2x32(_n))));
116 uvec2 d = unpackUint2x32(uint64_t(abs(packInt2x32(_d))));
  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_normalize_cubemap_coords.c 59 nir_ssa_def *abs = nir_fabs(b, orig_coord); local
60 nir_ssa_def *norm = nir_fmax(b, nir_channel(b, abs, 0),
61 nir_fmax(b, nir_channel(b, abs, 1),
62 nir_channel(b, abs, 2)));
nir_lower_fp16_conv.c 99 nir_ssa_def *abs = nir_iand(b, src, nir_imm_int(b, 0x7FFFFFFF)); local
101 nir_push_if(b, nir_ige(b, abs, mode == nir_rounding_mode_rtne ? f16max : f32infinity));
103 nir_ilt(b, f32infinity, abs),
111 nir_push_if(b, nir_ige(b, abs, f16max));
129 nir_push_if(b, nir_ige(b, abs, nir_imm_int(b, 113 << 23)));
136 nir_ushr(b, abs, nir_imm_int(b, 23)),
139 nir_iand(b, nir_ushr(b, abs, nir_imm_int(b, 13)), nir_imm_int(b, 0x3FFF)));
140 nir_ssa_def *guard = nir_iand(b, nir_ushr(b, abs, nir_imm_int(b, 12)), one);
141 nir_ssa_def *sticky = nir_bcsel(b, nir_ine(b, nir_iand(b, abs, nir_imm_int(b, 0xFFF)), zero), one, zero);
145 nir_push_if(b, nir_ige(b, abs, nir_imm_int(b, 102 << 23)))
    [all...]
nir_lower_to_source_mods.c 31 * This pass lowers the neg, abs, and sat operations to source modifiers on
39 src->abs = true;
45 /* If abs is set on the source, the negate goes away */
46 if (!src->abs)
121 if (parent->src[0].abs)
169 if (child_alu->src[0].negate || child_alu->src[0].abs) {
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
nir_normalize_cubemap_coords.c 59 nir_ssa_def *abs = nir_fabs(b, orig_coord); local
60 nir_ssa_def *norm = nir_fmax(b, nir_channel(b, abs, 0),
61 nir_fmax(b, nir_channel(b, abs, 1),
62 nir_channel(b, abs, 2)));
nir_lower_to_source_mods.c 31 * This pass lowers the neg, abs, and sat operations to source modifiers on
87 if (!lower_abs && parent->src[0].abs)
91 if (alu->src[i].abs) {
92 /* abs trumps both neg and abs, do nothing */
95 alu->src[i].abs |= parent->src[0].abs;
123 alu->src[0].abs = true;
139 alu->src[0].abs = true;
174 if (child_alu->src[0].negate || child_alu->src[0].abs) {
    [all...]
nir_builtin_builder.c 58 nir_ssa_def *abs = nir_fabs(b, vec); local
60 return abs;
62 nir_ssa_def *maxc = nir_fmax_abs_vec_comp(b, abs);
63 abs = nir_fdiv(b, abs, maxc);
64 nir_ssa_def *res = nir_fmul(b, nir_fsqrt(b, nir_fdot(b, abs, abs)), maxc);
  /xsrc/external/mit/MesaLib/dist/src/intel/compiler/
brw_nir_opt_peephole_ffma.c 71 uint8_t swizzle[4], bool *negate, bool *abs)
74 assert(src->src.is_ssa && !src->abs && !src->negate);
95 swizzle, negate, abs);
100 swizzle, negate, abs);
106 swizzle, negate, abs);
108 *abs = true;
193 bool negate, abs; local
199 abs = false;
203 swizzle, &negate, &abs);
229 if (abs) {
    [all...]
brw_fs_saturate_propagation.cpp 61 inst->src[0].abs)
133 scan_inst->src[0].abs ||
135 scan_inst->src[0].abs != inst->src[0].abs ||
  /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
brw_nir_opt_peephole_ffma.c 72 uint8_t swizzle[4], bool *negate, bool *abs)
75 assert(src->src.is_ssa && !src->abs && !src->negate);
97 swizzle, negate, abs);
102 swizzle, negate, abs);
108 swizzle, negate, abs);
110 *abs = true;
196 bool negate, abs; local
202 abs = false;
206 swizzle, &negate, &abs);
232 if (abs) {
    [all...]
  /xsrc/external/mit/freetype/dist/src/tools/
test_trig.c 32 if ( abs( f2-f1 ) > THRESHOLD )
58 if ( abs( f2-f1 ) > THRESHOLD )
84 if ( abs( f2-f1 ) > THRESHOLD )
120 if ( abs( i - j ) > 1 )
149 if ( abs( v.x-c2 ) > THRESHOLD ||
150 abs( v.y-s2 ) > THRESHOLD )
179 if ( abs( l2-l ) > THRESHOLD )
229 if ( abs( c4 - v.x ) > THRESHOLD ||
230 abs( s4 - v.y ) > THRESHOLD )
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
int64.glsl 97 uvec2 n = unpackUint2x32(uint64_t(abs(packInt2x32(_n))));
98 uvec2 d = unpackUint2x32(uint64_t(abs(packInt2x32(_d))));
115 uvec2 n = unpackUint2x32(uint64_t(abs(packInt2x32(_n))));
116 uvec2 d = unpackUint2x32(uint64_t(abs(packInt2x32(_d))));
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
ir2_cp.c 42 if (!src->abs) /* if we have abs we don't care about previous negate */
44 src->abs |= b.abs;
77 /* cant apply abs to const src, const src only for alu */
79 (src->abs || instr->type != IR2_ALU))
117 if (src->negate || src->abs) /* TODO handle these cases */
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
ir2_cp.c 40 if (!src->abs) /* if we have abs we don't care about previous negate */
42 src->abs |= b.abs;
71 /* cant apply abs to const src, const src only for alu */
73 (src->abs || instr->type != IR2_ALU))
110 if (src->negate || src->abs) /* TODO handle these cases */
  /xsrc/external/mit/libX11/dist/src/xcms/
cmsTrig.c 317 register double abs;
325 abs = XCMS_FABS(val);
326 if (abs >= XCMS_DMAXPOWTWO) {
329 ip = abs + XCMS_DMAXPOWTWO; /* dump fraction */
331 if (ip > abs) /* if it rounds up */
314 register double abs; local
  /xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
bi_opt_mod_props.c 29 * Due to a Bifrost encoding restriction, some instructions cannot have an abs
36 return (arch <= 8) && I->src[1 - s].abs &&
50 * For FADD.v2f16, the FMA pipe has the abs encoding hazard,
63 return bi_opcode_props[I->op].abs & BITFIELD_BIT(s);
113 /* abs(-x) = abs(+x) so ignore repl.neg if old.abs is set, otherwise
115 repl.neg = old.neg ^ (repl.neg && !old.abs);
117 /* +/- abs(+/- abs(x)) = +/- abs(x), etc so just or the two *
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
r700_asm.c 52 assert(!alu->src[0].abs && !alu->src[1].abs && !alu->src[2].abs);
68 S_SQ_ALU_WORD1_OP2_SRC0_ABS(alu->src[0].abs) |
69 S_SQ_ALU_WORD1_OP2_SRC1_ABS(alu->src[1].abs) |
116 alu->src[0].abs = G_SQ_ALU_WORD1_OP2_SRC0_ABS(word1);
117 alu->src[1].abs = G_SQ_ALU_WORD1_OP2_SRC1_ABS(word1);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
r700_asm.c 52 assert(!alu->src[0].abs && !alu->src[1].abs && !alu->src[2].abs);
68 S_SQ_ALU_WORD1_OP2_SRC0_ABS(alu->src[0].abs) |
69 S_SQ_ALU_WORD1_OP2_SRC1_ABS(alu->src[1].abs) |
116 alu->src[0].abs = G_SQ_ALU_WORD1_OP2_SRC0_ABS(word1);
117 alu->src[1].abs = G_SQ_ALU_WORD1_OP2_SRC1_ABS(word1);
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/xaa/
xaaDashLine.c 242 len = abs(new_y2 - new_y1);
244 len = abs(new_x2 - new_x1);
255 clipdx = abs(new_x1 - x1);
256 clipdy = abs(new_y1 - y1);
266 abserr = abs(err);
277 offset = abs(new_y1 - y1);
279 offset = abs(new_x1 - x1);
292 len = abs(y2 - y1);
293 tmp = abs(x2 - x1);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
etnaviv_asm.c 88 COND(inst->src[0].abs, VIV_ISA_WORD_1_SRC0_ABS);
96 COND(inst->src[1].abs, VIV_ISA_WORD_2_SRC1_ABS) |
104 COND(inst->src[2].abs, VIV_ISA_WORD_3_SRC2_ABS) |
  /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
st_glsl_to_tgsi_private.cpp 72 this->abs = 0;
92 this->abs = 0;
110 this->abs = 0;
127 this->abs = 0;
154 this->abs = reg.abs;
170 this->abs = 0;
184 reg.abs = 1;
200 lhs.abs != rhs.abs ||
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
etnaviv_asm.c 88 COND(inst->src[0].abs, VIV_ISA_WORD_1_SRC0_ABS);
96 COND(inst->src[1].abs, VIV_ISA_WORD_2_SRC1_ABS) |
104 COND(inst->src[2].abs, VIV_ISA_WORD_3_SRC2_ABS) |
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
st_glsl_to_tgsi_private.cpp 72 this->abs = 0;
92 this->abs = 0;
110 this->abs = 0;
127 this->abs = 0;
154 this->abs = reg.abs;
170 this->abs = 0;
184 reg.abs = 1;
200 lhs.abs != rhs.abs ||
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/asahi/compiler/
agx_optimizer.c 84 if (to.abs)
87 from.abs |= to.abs;
146 if (use->src[0].neg || use->src[0].abs) return false;

Completed in 177 milliseconds

1 2 3 4 5 6 7 8 91011>>