/external/mesa3d/src/gallium/state_trackers/nine/ |
D | vertexshader9.h | 100 key |= ((uint64_t)util_float_to_half(asfloat(context->rs[D3DRS_POINTSIZE_MIN]))) << 32; in NineVertexShader9_UpdateKey() 101 key |= ((uint64_t)util_float_to_half(asfloat(context->rs[D3DRS_POINTSIZE_MAX]))) << 48; in NineVertexShader9_UpdateKey()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_formats.c | 935 clear_vals[0] = util_float_to_half(value->float32[0]); in radv_format_pack_clear_color() 939 clear_vals[0] = util_float_to_half(value->float32[0]); in radv_format_pack_clear_color() 940 clear_vals[0] |= (uint32_t)util_float_to_half(value->float32[1]) << 16; in radv_format_pack_clear_color() 944 clear_vals[0] = util_float_to_half(value->float32[0]); in radv_format_pack_clear_color() 945 clear_vals[0] |= (uint32_t)util_float_to_half(value->float32[1]) << 16; in radv_format_pack_clear_color() 946 clear_vals[1] = util_float_to_half(value->float32[2]); in radv_format_pack_clear_color() 947 clear_vals[1] |= (uint32_t)util_float_to_half(value->float32[3]) << 16; in radv_format_pack_clear_color()
|
/external/mesa3d/src/gallium/tests/unit/ |
D | u_half_test.c | 21 rh = util_float_to_half(f.f); in main()
|
D | translate_test.c | 167 half_buffer[i] = util_float_to_half((float) rand_double()); in main()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_state_validate.c | 185 PUSH_DATA (push, (util_float_to_half(rgba[0]) << 0) | in nv30_validate_blend_colour() 186 (util_float_to_half(rgba[1]) << 16)); in nv30_validate_blend_colour() 188 PUSH_DATA (push, (util_float_to_half(rgba[2]) << 0) | in nv30_validate_blend_colour() 189 (util_float_to_half(rgba[3]) << 16)); in nv30_validate_blend_colour()
|
/external/mesa3d/src/gallium/drivers/vc5/ |
D | vc5_state.c | 61 util_float_to_half(blend_color->color[i]); in vc5_set_blend_color() 563 util_float_to_half(cso->border_color.f[0]); in vc5_create_sampler_state() 565 util_float_to_half(cso->border_color.f[1]); in vc5_create_sampler_state() 567 util_float_to_half(cso->border_color.f[2]); in vc5_create_sampler_state() 569 util_float_to_half(cso->border_color.f[3]); in vc5_create_sampler_state()
|
D | vc5_emit.c | 102 return util_float_to_half(0.0); in swizzled_border_color() 104 return util_float_to_half(1.0); in swizzled_border_color() 106 return util_float_to_half(sampler->border_color.f[swiz]); in swizzled_border_color()
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_half.h | 47 util_float_to_half(float f) in util_float_to_half() function
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_half.h | 47 util_float_to_half(float f) in util_float_to_half() function
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_const.c | 260 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()
|
D | lp_bld_conv.c | 193 …eRef func = lp_build_const_int_pointer(gallivm, func_to_pointer((func_pointer)util_float_to_half)); in lp_build_float_to_half()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_texture.c | 160 util_float_to_half(sampler->border_color.f[j]); in fd_setup_border_colors()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_state.c | 629 OUT_CB(util_float_to_half(c.color[2]) | in r300_set_blend_color() 630 (util_float_to_half(c.color[3]) << 16)); in r300_set_blend_color() 631 OUT_CB(util_float_to_half(c.color[0]) | in r300_set_blend_color() 632 (util_float_to_half(c.color[1]) << 16)); in r300_set_blend_color() 762 alpha_value_fp16 = util_float_to_half(state->alpha.ref_value); in r300_create_dsa_state()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | a3xx.xml.h | 1214 …return ((util_float_to_half(val)) << A3XX_RB_ALPHA_REF_FLOAT__SHIFT) & A3XX_RB_ALPHA_REF_FLOAT__MA… in A3XX_RB_ALPHA_REF_FLOAT() 1329 …return ((util_float_to_half(val)) << A3XX_RB_BLEND_RED_FLOAT__SHIFT) & A3XX_RB_BLEND_RED_FLOAT__MA… in A3XX_RB_BLEND_RED_FLOAT() 1343 …return ((util_float_to_half(val)) << A3XX_RB_BLEND_GREEN_FLOAT__SHIFT) & A3XX_RB_BLEND_GREEN_FLOAT… in A3XX_RB_BLEND_GREEN_FLOAT() 1357 …return ((util_float_to_half(val)) << A3XX_RB_BLEND_BLUE_FLOAT__SHIFT) & A3XX_RB_BLEND_BLUE_FLOAT__… in A3XX_RB_BLEND_BLUE_FLOAT() 1371 …return ((util_float_to_half(val)) << A3XX_RB_BLEND_ALPHA_FLOAT__SHIFT) & A3XX_RB_BLEND_ALPHA_FLOAT… in A3XX_RB_BLEND_ALPHA_FLOAT()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | a5xx.xml.h | 3181 …return ((util_float_to_half(val)) << A5XX_RB_BLEND_RED_FLOAT__SHIFT) & A5XX_RB_BLEND_RED_FLOAT__MA… in A5XX_RB_BLEND_RED_FLOAT() 3209 …return ((util_float_to_half(val)) << A5XX_RB_BLEND_GREEN_FLOAT__SHIFT) & A5XX_RB_BLEND_GREEN_FLOAT… in A5XX_RB_BLEND_GREEN_FLOAT() 3237 …return ((util_float_to_half(val)) << A5XX_RB_BLEND_BLUE_FLOAT__SHIFT) & A5XX_RB_BLEND_BLUE_FLOAT__… in A5XX_RB_BLEND_BLUE_FLOAT() 3265 …return ((util_float_to_half(val)) << A5XX_RB_BLEND_ALPHA_FLOAT__SHIFT) & A5XX_RB_BLEND_ALPHA_FLOAT… in A5XX_RB_BLEND_ALPHA_FLOAT()
|
D | fd5_emit.c | 233 e->fp16[c] = util_float_to_half(f); in setup_border_colors()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | a4xx.xml.h | 1087 …return ((util_float_to_half(val)) << A4XX_RB_BLEND_RED_FLOAT__SHIFT) & A4XX_RB_BLEND_RED_FLOAT__MA… in A4XX_RB_BLEND_RED_FLOAT() 1115 …return ((util_float_to_half(val)) << A4XX_RB_BLEND_GREEN_FLOAT__SHIFT) & A4XX_RB_BLEND_GREEN_FLOAT… in A4XX_RB_BLEND_GREEN_FLOAT() 1143 …return ((util_float_to_half(val)) << A4XX_RB_BLEND_BLUE_FLOAT__SHIFT) & A4XX_RB_BLEND_BLUE_FLOAT__… in A4XX_RB_BLEND_BLUE_FLOAT() 1171 …return ((util_float_to_half(val)) << A4XX_RB_BLEND_ALPHA_FLOAT__SHIFT) & A4XX_RB_BLEND_ALPHA_FLOAT… in A4XX_RB_BLEND_ALPHA_FLOAT()
|
/external/mesa3d/src/gallium/auxiliary/translate/ |
D | translate_generic.c | 114 #define TO_16_FLOAT(x) util_float_to_half(x)
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_exec.c | 3269 dst.u[chan] = util_float_to_half(arg[0].f[chan]) | in exec_pk2h() 3270 (util_float_to_half(arg[1].f[chan]) << 16); in exec_pk2h()
|