Searched refs:float_to_ushort (Results 1 – 4 of 4) sorted by relevance
248 desc->border_red = float_to_ushort(sampler->base.border_color.f[0]); in lima_update_tex_desc()249 desc->border_green = float_to_ushort(sampler->base.border_color.f[1]); in lima_update_tex_desc()250 desc->border_blue = float_to_ushort(sampler->base.border_color.f[2]); in lima_update_tex_desc()251 desc->border_alpha = float_to_ushort(sampler->base.border_color.f[3]); in lima_update_tex_desc()
182 ((uint64_t)float_to_ushort(color->f[3]) << 48) | in lima_clear()183 ((uint64_t)float_to_ushort(color->f[2]) << 32) | in lima_clear()184 ((uint64_t)float_to_ushort(color->f[1]) << 16) | in lima_clear()185 float_to_ushort(color->f[0]); in lima_clear()636 near = float_to_ushort(ctx->viewport.near); in lima_pack_render_state()637 far = float_to_ushort(ctx->viewport.far); in lima_pack_render_state()
360 float_to_ushort(float f) in float_to_ushort() function
3955 - u_math: add ushort_to_float/float_to_ushort