Searched refs:CLAMPED_FLOAT_TO_UBYTE (Results 1 – 12 of 12) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_fragshader.c | 514 CLAMPED_FLOAT_TO_UBYTE(con_byte[0], shader->Constants[i][0]); in r200UpdateFSConstants() 515 CLAMPED_FLOAT_TO_UBYTE(con_byte[1], shader->Constants[i][1]); in r200UpdateFSConstants() 516 CLAMPED_FLOAT_TO_UBYTE(con_byte[2], shader->Constants[i][2]); in r200UpdateFSConstants() 517 CLAMPED_FLOAT_TO_UBYTE(con_byte[3], shader->Constants[i][3]); in r200UpdateFSConstants() 520 CLAMPED_FLOAT_TO_UBYTE(con_byte[0], ctx->ATIFragmentShader.GlobalConstants[i][0]); in r200UpdateFSConstants() 521 CLAMPED_FLOAT_TO_UBYTE(con_byte[1], ctx->ATIFragmentShader.GlobalConstants[i][1]); in r200UpdateFSConstants() 522 CLAMPED_FLOAT_TO_UBYTE(con_byte[2], ctx->ATIFragmentShader.GlobalConstants[i][2]); in r200UpdateFSConstants() 523 CLAMPED_FLOAT_TO_UBYTE(con_byte[3], ctx->ATIFragmentShader.GlobalConstants[i][3]); in r200UpdateFSConstants()
|
D | r200_tex.c | 289 CLAMPED_FLOAT_TO_UBYTE(c[0], color[0]); in r200SetTexBorderColor() 290 CLAMPED_FLOAT_TO_UBYTE(c[1], color[1]); in r200SetTexBorderColor() 291 CLAMPED_FLOAT_TO_UBYTE(c[2], color[2]); in r200SetTexBorderColor() 292 CLAMPED_FLOAT_TO_UBYTE(c[3], color[3]); in r200SetTexBorderColor()
|
D | r200_state.c | 76 CLAMPED_FLOAT_TO_UBYTE(refByte, ref); in r200AlphaFunc() 118 CLAMPED_FLOAT_TO_UBYTE(color[0], cf[0]); in r200BlendColor() 119 CLAMPED_FLOAT_TO_UBYTE(color[1], cf[1]); in r200BlendColor() 120 CLAMPED_FLOAT_TO_UBYTE(color[2], cf[2]); in r200BlendColor() 121 CLAMPED_FLOAT_TO_UBYTE(color[3], cf[3]); in r200BlendColor()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i830_texstate.c | 305 CLAMPED_FLOAT_TO_UBYTE(border[0], sampler->BorderColor.f[0]); in i830_update_tex_unit() 306 CLAMPED_FLOAT_TO_UBYTE(border[1], sampler->BorderColor.f[1]); in i830_update_tex_unit() 307 CLAMPED_FLOAT_TO_UBYTE(border[2], sampler->BorderColor.f[2]); in i830_update_tex_unit() 308 CLAMPED_FLOAT_TO_UBYTE(border[3], sampler->BorderColor.f[3]); in i830_update_tex_unit()
|
D | i915_texstate.c | 369 CLAMPED_FLOAT_TO_UBYTE(border[0], sampler->BorderColor.f[0]); in i915_update_tex_unit() 370 CLAMPED_FLOAT_TO_UBYTE(border[1], sampler->BorderColor.f[1]); in i915_update_tex_unit() 371 CLAMPED_FLOAT_TO_UBYTE(border[2], sampler->BorderColor.f[2]); in i915_update_tex_unit() 372 CLAMPED_FLOAT_TO_UBYTE(border[3], sampler->BorderColor.f[3]); in i915_update_tex_unit()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tex.c | 245 CLAMPED_FLOAT_TO_UBYTE(c[0], color[0]); in radeonSetTexBorderColor() 246 CLAMPED_FLOAT_TO_UBYTE(c[1], color[1]); in radeonSetTexBorderColor() 247 CLAMPED_FLOAT_TO_UBYTE(c[2], color[2]); in radeonSetTexBorderColor() 248 CLAMPED_FLOAT_TO_UBYTE(c[3], color[3]); in radeonSetTexBorderColor()
|
D | radeon_state.c | 73 CLAMPED_FLOAT_TO_UBYTE(refByte, ref); in radeonAlphaFunc()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_alpha.c | 115 CLAMPED_FLOAT_TO_UBYTE(ref, ctx->Color.AlphaRef); in _swrast_alpha_test() 137 CLAMPED_FLOAT_TO_UBYTE(ref, ctx->Color.AlphaRef); in _swrast_alpha_test()
|
D | s_chan.h | 77 #define CLAMPED_FLOAT_TO_CHAN(c, f) CLAMPED_FLOAT_TO_UBYTE(c, f)
|
/external/mesa3d/src/mesa/main/ |
D | macros.h | 165 #define CLAMPED_FLOAT_TO_UBYTE(UB, FLT) \ macro 174 #define CLAMPED_FLOAT_TO_UBYTE(ub, f) \ macro
|
D | pack.c | 1624 CLAMPED_FLOAT_TO_UBYTE(dst[i * 4 + 0], rgba[i * 4 + 0]); in _mesa_unpack_color_index_to_rgba_ubyte() 1625 CLAMPED_FLOAT_TO_UBYTE(dst[i * 4 + 1], rgba[i * 4 + 1]); in _mesa_unpack_color_index_to_rgba_ubyte() 1626 CLAMPED_FLOAT_TO_UBYTE(dst[i * 4 + 2], rgba[i * 4 + 2]); in _mesa_unpack_color_index_to_rgba_ubyte() 1627 CLAMPED_FLOAT_TO_UBYTE(dst[i * 4 + 3], rgba[i * 4 + 3]); in _mesa_unpack_color_index_to_rgba_ubyte()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta.c | 2427 CLAMPED_FLOAT_TO_UBYTE(fg, ctx->Current.RasterColor[ACOMP]); in _mesa_meta_Bitmap()
|