Home
last modified time | relevance | path

Searched refs:_mesa_lroundevenf (Results 1 - 8 of 8) sorted by relevance

/third_party/mesa3d/src/glx/
H A Dpixelstore.c81 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
89 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
97 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
105 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
113 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
121 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
142 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
150 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
158 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
166 a = _mesa_lroundevenf(para in __indirect_glPixelStoref()
[all...]
/third_party/mesa3d/src/util/
H A Drounding.h95 _mesa_lroundevenf(float x) in _mesa_lroundevenf() function
138 return _mesa_lroundevenf(x); in _mesa_i64roundevenf()
H A Dhalf_float.c103 m = _mesa_lroundevenf((1 << 24) * fabsf(fi.f)); in _mesa_float_to_half_slow()
117 m = _mesa_lroundevenf(flt_m / (float) (1 << 13)); in _mesa_float_to_half_slow()
/third_party/mesa3d/src/mesa/main/
H A Dpixeltransfer.c98 rgba[i][RCOMP] = rMap[(int)_mesa_lroundevenf(r * rscale)]; in _mesa_map_rgba()
99 rgba[i][GCOMP] = gMap[(int)_mesa_lroundevenf(g * gscale)]; in _mesa_map_rgba()
100 rgba[i][BCOMP] = bMap[(int)_mesa_lroundevenf(b * bscale)]; in _mesa_map_rgba()
101 rgba[i][ACOMP] = aMap[(int)_mesa_lroundevenf(a * ascale)]; in _mesa_map_rgba()
H A Dmacros.h137 us = ( (GLushort) _mesa_lroundevenf( CLAMP((f), 0.0F, 1.0F) * 65535.0F) )
139 us = ( (GLushort) _mesa_lroundevenf( (f) * 65535.0F) )
142 s = ( (GLshort) _mesa_lroundevenf( CLAMP((f), -1.0F, 1.0F) * 32767.0F) )
173 ub = ((GLubyte) _mesa_lroundevenf(CLAMP((f), 0.0F, 1.0F) * 255.0F))
175 ub = ((GLubyte) _mesa_lroundevenf((f) * 255.0F))
/third_party/mesa3d/src/util/format/
H A Dformat_utils.h123 return _mesa_lroundevenf(x * u_intN_max(dst_bits)); in _mesa_float_to_snorm()
/third_party/mesa3d/src/compiler/glsl/
H A Dir_constant_expression.cpp270 _mesa_lroundevenf(CLAMP(x, -1.0f, +1.0f) * 127.0f); in pack_snorm_1x8()
289 _mesa_lroundevenf(CLAMP(x, -1.0f, +1.0f) * 32767.0f); in pack_snorm_1x16()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_clear_blit.c28 return _mesa_lroundevenf(CLAMP(val, 0.0f, 1.0f) * (float) ((1 << bits) - 1)); in tu_pack_float32_for_unorm()
129 clear_value[i] = _mesa_lroundevenf(CLAMP(linear, -1.0f, 1.0f) * 127.0f); in r2d_clear_value()

Completed in 10 milliseconds