Home
last modified time | relevance | path

Searched refs:FLOAT_TO_UBYTE (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_raster.c47 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.AlphaRef)); in nv10_emit_alpha_func()
56 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.BlendColor[3]) << 24 | in nv10_emit_blend_color()
57 FLOAT_TO_UBYTE(ctx->Color.BlendColor[0]) << 16 | in nv10_emit_blend_color()
58 FLOAT_TO_UBYTE(ctx->Color.BlendColor[1]) << 8 | in nv10_emit_blend_color()
59 FLOAT_TO_UBYTE(ctx->Color.BlendColor[2]) << 0); in nv10_emit_blend_color()
Dnouveau_util.h75 FLOAT_TO_UBYTE(c[RCOMP]), in pack_rgba_f()
76 FLOAT_TO_UBYTE(c[GCOMP]), in pack_rgba_f()
77 FLOAT_TO_UBYTE(c[BCOMP]), in pack_rgba_f()
78 FLOAT_TO_UBYTE(c[ACOMP]) }); in pack_rgba_f()
Dnv20_state_tex.c216 r = FLOAT_TO_UBYTE(sa->Attrib.state.border_color.f[0]); in nv20_emit_tex_obj()
217 g = FLOAT_TO_UBYTE(sa->Attrib.state.border_color.f[1]); in nv20_emit_tex_obj()
218 b = FLOAT_TO_UBYTE(sa->Attrib.state.border_color.f[2]); in nv20_emit_tex_obj()
219 a = FLOAT_TO_UBYTE(sa->Attrib.state.border_color.f[3]); in nv20_emit_tex_obj()
Dnv04_state_raster.c162 FLOAT_TO_UBYTE(ctx->Color.AlphaRef); in nv04_emit_control()
/third_party/mesa3d/src/mesa/swrast/
Ds_chan.h96 #define CHAN_TO_UBYTE(c) FLOAT_TO_UBYTE(c)
/third_party/mesa3d/src/mesa/main/
Dmacros.h52 #define FLOAT_TO_UBYTE(X) ((GLubyte) (GLint) ((X) * 255.0F)) macro
Dpack.c1025 dst[i] = FLOAT_TO_UBYTE( depthSpan[i] ); in _mesa_pack_depth_span()