Searched refs:clamp_rect_coord_nearest (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/mesa/swrast/ |
D | s_texfilter.c | 430 clamp_rect_coord_nearest(GLenum wrapMode, GLfloat coord, GLint max) in clamp_rect_coord_nearest() function 518 *i = clamp_rect_coord_nearest(samp->WrapS, texcoord[0], width); in nearest_texcoord() 519 *j = clamp_rect_coord_nearest(samp->WrapT, texcoord[1], height); in nearest_texcoord() 2700 col = clamp_rect_coord_nearest(samp->WrapS, texcoords[i][0], width); in sample_nearest_rect() 2701 row = clamp_rect_coord_nearest(samp->WrapT, texcoords[i][1], height); in sample_nearest_rect()
|