Home
last modified time | relevance | path

Searched refs:_mesa_roundevenf (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/util/
Droundeven_test.c72 float output = _mesa_roundevenf(float_data[i].input); in main()
89 float output = _mesa_roundevenf(-float_data[i].input); in main()
Drounding.h61 _mesa_roundevenf(float x) in _mesa_roundevenf() function
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_job.c1260 unsigned r5 = _mesa_roundevenf(SATURATE(color->f[0]) * 31.0); in pan_pack_color()
1261 unsigned g6 = _mesa_roundevenf(SATURATE(color->f[1]) * 63.0); in pan_pack_color()
1262 unsigned b5 = _mesa_roundevenf(SATURATE(color->f[2]) * 31.0); in pan_pack_color()
1268 unsigned r4 = _mesa_roundevenf(SATURATE(color->f[0]) * 15.0); in pan_pack_color()
1269 unsigned g4 = _mesa_roundevenf(SATURATE(color->f[1]) * 15.0); in pan_pack_color()
1270 unsigned b4 = _mesa_roundevenf(SATURATE(color->f[2]) * 15.0); in pan_pack_color()
1271 unsigned a4 = _mesa_roundevenf(SATURATE(clear_alpha) * 15.0); in pan_pack_color()
1277 unsigned r5 = _mesa_roundevenf(SATURATE(color->f[0]) * 31.0); in pan_pack_color()
1278 unsigned g5 = _mesa_roundevenf(SATURATE(color->f[1]) * 31.0); in pan_pack_color()
1279 unsigned b5 = _mesa_roundevenf(SATURATE(color->f[2]) * 31.0); in pan_pack_color()
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_constant_expression.cpp343 return (uint8_t) (int) _mesa_roundevenf(SATURATE(x) * 255.0f); in pack_unorm_1x8()
362 _mesa_roundevenf(SATURATE(x) * 65535.0f); in pack_unorm_1x16()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.c578 dst->f[0] = _mesa_roundevenf(src->f[0]); in micro_rnd()
579 dst->f[1] = _mesa_roundevenf(src->f[1]); in micro_rnd()
580 dst->f[2] = _mesa_roundevenf(src->f[2]); in micro_rnd()
581 dst->f[3] = _mesa_roundevenf(src->f[3]); in micro_rnd()
/external/mesa3d/prebuilt-intermediates/glsl/
Dir_expression_operation_constant.h912 data.f[c] = _mesa_roundevenf(op[0]->value.f[c]);
/external/mesa3d/prebuilt-intermediates/nir/
Dnir_constant_expressions.c77 _mesa_roundevenf(CLAMP(x, -1.0f, +1.0f) * 127.0f); in pack_snorm_1x8()
99 _mesa_roundevenf(CLAMP(x, -1.0f, +1.0f) * 32767.0f); in pack_snorm_1x16()
154 _mesa_roundevenf(CLAMP(x, 0.0f, 1.0f) * 255.0f); in pack_unorm_1x8()
173 _mesa_roundevenf(CLAMP(x, 0.0f, 1.0f) * 65535.0f); in pack_unorm_1x16()
29721 float16_t dst = bit_size == 64 ? _mesa_roundeven(src0) : _mesa_roundevenf(src0); in evaluate_fround_even()
29745 float32_t dst = bit_size == 64 ? _mesa_roundeven(src0) : _mesa_roundevenf(src0); in evaluate_fround_even()
29765 float64_t dst = bit_size == 64 ? _mesa_roundeven(src0) : _mesa_roundevenf(src0); in evaluate_fround_even()
/external/mesa3d/docs/relnotes/
D20.1.0.rst1461 - Replace IROUND_POS with \_mesa_roundevenf
D20.2.0.rst457 - panfrost: Use _mesa_roundevenf when packing clear colours