Home
last modified time | relevance | path

Searched refs:util_float_to_half (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/tests/unit/
Du_half_test.c21 rh = util_float_to_half(f.f); in main()
Dtranslate_test.c166 half_buffer[i] = util_float_to_half((float) rand_double()); in main()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_state_validate.c188 PUSH_DATA (push, (util_float_to_half(rgba[0]) << 0) | in nv30_validate_blend_colour()
189 (util_float_to_half(rgba[1]) << 16)); in nv30_validate_blend_colour()
191 PUSH_DATA (push, (util_float_to_half(rgba[2]) << 0) | in nv30_validate_blend_colour()
192 (util_float_to_half(rgba[3]) << 16)); in nv30_validate_blend_colour()
/external/mesa3d/src/gallium/auxiliary/util/
Du_half.h47 util_float_to_half(float f) in util_float_to_half() function
Du_gen_mipmap.c154 dst[i][e] = util_float_to_half((aj + ak + bj + bk + cj + ck + dj + dk) \
346 dst[i][comp] = util_float_to_half((aj + ak + bj + bk) * 0.25F); in do_row()
363 dst[i][comp] = util_float_to_half((aj + ak + bj + bk) * 0.25F); in do_row()
380 dst[i][comp] = util_float_to_half((aj + ak + bj + bk) * 0.25F); in do_row()
396 dst[i] = util_float_to_half((aj + ak + bj + bk) * 0.25F); in do_row()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_const.c260 elems[0] = LLVMConstInt(elem_type, util_float_to_half(1.0f), 0); in lp_build_one()
307 elem = LLVMConstInt(elem_type, util_float_to_half((float)val), 0); in lp_build_const_elem()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_state.c514 OUT_CB(util_float_to_half(c.color[2]) | in r300_set_blend_color()
515 (util_float_to_half(c.color[3]) << 16)); in r300_set_blend_color()
516 OUT_CB(util_float_to_half(c.color[0]) | in r300_set_blend_color()
517 (util_float_to_half(c.color[1]) << 16)); in r300_set_blend_color()
654 dsa->alpha_value = util_float_to_half(state->alpha.ref_value); in r300_create_dsa_state()
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_generic.c110 #define TO_16_FLOAT(x) util_float_to_half(x)