Searched refs:UNCLAMPED_FLOAT_TO_USHORT (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_sampler_state.c | 372 UNCLAMPED_FLOAT_TO_USHORT(sdc->us[0], color.f[0]); in upload_default_color() 373 UNCLAMPED_FLOAT_TO_USHORT(sdc->us[1], color.f[1]); in upload_default_color() 374 UNCLAMPED_FLOAT_TO_USHORT(sdc->us[2], color.f[2]); in upload_default_color() 375 UNCLAMPED_FLOAT_TO_USHORT(sdc->us[3], color.f[3]); in upload_default_color()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_chan.h | 90 #define UNCLAMPED_FLOAT_TO_CHAN(c, f) UNCLAMPED_FLOAT_TO_USHORT(c, f)
|
D | s_blend.c | 877 UNCLAMPED_FLOAT_TO_USHORT(rgba[i][RCOMP], rgbaF[i][RCOMP]); in blend_general() 878 UNCLAMPED_FLOAT_TO_USHORT(rgba[i][GCOMP], rgbaF[i][GCOMP]); in blend_general() 879 UNCLAMPED_FLOAT_TO_USHORT(rgba[i][BCOMP], rgbaF[i][BCOMP]); in blend_general() 880 UNCLAMPED_FLOAT_TO_USHORT(rgba[i][ACOMP], rgbaF[i][ACOMP]); in blend_general()
|
/external/mesa3d/src/mesa/main/ |
D | image.c | 573 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][RCOMP], src4[i][RCOMP]); in _mesa_convert_colors() 574 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][GCOMP], src4[i][GCOMP]); in _mesa_convert_colors() 575 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][BCOMP], src4[i][BCOMP]); in _mesa_convert_colors() 576 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][ACOMP], src4[i][ACOMP]); in _mesa_convert_colors()
|
D | macros.h | 134 #define UNCLAMPED_FLOAT_TO_USHORT(us, f) \ macro
|
/external/mesa3d/src/mesa/math/ |
D | m_translate.c | 439 #define TRX_US(us,f,n) UNCLAMPED_FLOAT_TO_USHORT(us, PTR_ELT(f,n))
|