Home
last modified time | relevance | path

Searched refs:accum (Results 1 – 6 of 6) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Dptralloc.h49 size_t accum = base_size; in ptralloc() local
51 *members[i] = (void*)(ptr + accum); in ptralloc()
52 accum += member_sizes[i]; in ptralloc()
68 size_t accum = base_size; in ptrzalloc() local
70 *members[i] = (void*)(ptr + accum); in ptrzalloc()
71 accum += member_sizes[i]; in ptrzalloc()
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_meta_blit_resolve.c134 nir_def *accum = nir_txf_ms_deref(b, t, coord, nir_imm_int(b, 0)); in build_tex_resolve() local
136 return accum; in build_tex_resolve()
146 accum = nir_fadd(b, accum, val); in build_tex_resolve()
152 accum = nir_umin(b, accum, val); in build_tex_resolve()
155 accum = nir_imin(b, accum, val); in build_tex_resolve()
158 accum = nir_fmin(b, accum, val); in build_tex_resolve()
168 accum = nir_umax(b, accum, val); in build_tex_resolve()
171 accum = nir_imax(b, accum, val); in build_tex_resolve()
174 accum = nir_fmax(b, accum, val); in build_tex_resolve()
187 accum = nir_fmul_imm(b, accum, 1.0 / samples); in build_tex_resolve()
[all …]
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_vecmathlib_common_4.h276 ASTCENC_SIMD_INLINE void haccumulate(vfloat4& accum, vfloat4 a) in haccumulate() argument
278 accum = accum + a; in haccumulate()
284 ASTCENC_SIMD_INLINE void haccumulate(vfloat4& accum, vfloat4 a, vmask4 m) in haccumulate() argument
287 haccumulate(accum, a); in haccumulate()
Dastcenc_percentile_tables.cpp1183 unsigned int accum = apt->initial_percs[i]; in get_2d_percentile_table() local
1191 accum += weight; in get_2d_percentile_table()
1192 unpacked_table[idx] = static_cast<float>(accum) / static_cast<float>(difscale); in get_2d_percentile_table()
Dastcenc_vecmathlib_avx2_8.h917 ASTCENC_SIMD_INLINE void haccumulate(vfloat4& accum, vfloat8 a) in haccumulate() argument
920 haccumulate(accum, lo); in haccumulate()
923 haccumulate(accum, hi); in haccumulate()
931 ASTCENC_SIMD_INLINE void haccumulate(vfloat8& accum, vfloat8 a) in haccumulate() argument
933 accum += a; in haccumulate()
941 ASTCENC_SIMD_INLINE void haccumulate(vfloat4& accum, vfloat8 a, vmask8 m) in haccumulate() argument
944 haccumulate(accum, a); in haccumulate()
952 ASTCENC_SIMD_INLINE void haccumulate(vfloat8& accum, vfloat8 a, vmask8 m) in haccumulate() argument
955 haccumulate(accum, a); in haccumulate()
Dastcenc_weight_align.cpp193 vfloat accum = cut_low_weight_err + vfloat(1.0f) - vfloat(2.0f) * diff; in compute_lowest_and_highest_weight() local
194 cut_low_weight_err = select(cut_low_weight_err, accum, mask); in compute_lowest_and_highest_weight()
203 accum = cut_high_weight_err + vfloat(1.0f) + vfloat(2.0f) * diff; in compute_lowest_and_highest_weight()
204 cut_high_weight_err = select(cut_high_weight_err, accum, mask); in compute_lowest_and_highest_weight()