Searched refs:FLOAT_TO_UBYTE (Results 1 – 7 of 7) sorted by relevance
47 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()
75 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()
216 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()
162 FLOAT_TO_UBYTE(ctx->Color.AlphaRef); in nv04_emit_control()
96 #define CHAN_TO_UBYTE(c) FLOAT_TO_UBYTE(c)
52 #define FLOAT_TO_UBYTE(X) ((GLubyte) (GLint) ((X) * 255.0F)) macro
1025 dst[i] = FLOAT_TO_UBYTE( depthSpan[i] ); in _mesa_pack_depth_span()