Searched refs:_mesa_lroundevenf (Results 1 - 8 of 8) sorted by relevance
/third_party/mesa3d/src/glx/ |
H A D | pixelstore.c | 81 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 D | rounding.h | 95 _mesa_lroundevenf(float x) in _mesa_lroundevenf() function 138 return _mesa_lroundevenf(x); in _mesa_i64roundevenf()
|
H A D | half_float.c | 103 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 D | pixeltransfer.c | 98 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 D | macros.h | 137 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 D | format_utils.h | 123 return _mesa_lroundevenf(x * u_intN_max(dst_bits)); in _mesa_float_to_snorm()
|
/third_party/mesa3d/src/compiler/glsl/ |
H A D | ir_constant_expression.cpp | 270 _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 D | tu_clear_blit.c | 28 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