Home
last modified time | relevance | path

Searched refs:float_to_ushort (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/lima/
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()
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/
Du_math.h360 float_to_ushort(float f) in float_to_ushort() function
/third_party/mesa3d/docs/relnotes/
D19.1.0.rst3955 - u_math: add ushort_to_float/float_to_ushort