Home
last modified time | relevance | path

Searched refs:float_to_ushort (Results 1 - 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_texture.c248 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()
H A Dlima_draw.c182 ((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()
/third_party/mesa3d/src/util/
H A Du_math.h360 float_to_ushort(float f) in float_to_ushort() function

Completed in 8 milliseconds