Searched refs:tsiz2 (Results 1 – 2 of 2) sorted by relevance
484 vec2_t siz = { 0, 0 }, tsiz = { 0, 0 }, tsiz2 = { 0, 0 }; in rt_gloadtile_n64() local501 tsiz2.x = tinfo->dimx; in rt_gloadtile_n64()502 tsiz2.y = tinfo->dimy; in rt_gloadtile_n64()535 ty = tsiz2.y - 1 - ((tsiz.y - y - 1) * tsiz2.y) / tsiz.y; in rt_gloadtile_n64()536 int32_t y2 = (ty < tsiz2.y) ? ty : ty - tsiz2.y; in rt_gloadtile_n64()543 tx = tsiz2.x - 1 - ((tsiz.x - x - 1) * tsiz2.x) / tsiz.x; in rt_gloadtile_n64()544 int32_t x2 = (tx < tsiz2.x) ? tx : tx-tsiz2.x; in rt_gloadtile_n64()546 if ((dameth & DAMETH_CLAMPED) && (tx >= tsiz2.x || ty >= tsiz2.y)) //Clamp texture in rt_gloadtile_n64()554 dacol = *(char *)(rt_waloff[tileid]+y2*tsiz2.x+x2); in rt_gloadtile_n64()559 int o = y2 * tsiz2.x + x2; in rt_gloadtile_n64()
3384 vec2_t tsiz2 = tsiz; in polymost_drawpoly() local3388 for (tsiz2.x = 1; tsiz2.x < tsiz.x; tsiz2.x += tsiz2.x) in polymost_drawpoly()3390 for (tsiz2.y = 1; tsiz2.y < tsiz.y; tsiz2.y += tsiz2.y) in polymost_drawpoly()3447 if ((pow2xsplit) && (tsiz.x != tsiz2.x)) in polymost_drawpoly()3467 float const uoffs = ((float)(tsiz2.x - tsiz.x) * 0.5f); in polymost_drawpoly()3566 vec2f_t const invtsiz2 = { 1.f / tsiz2.x, 1.f / tsiz2.y }; in polymost_drawpoly()3615 vec2f_t const scale = { 1.f / tsiz2.x * hacksc.x, 1.f / tsiz2.y * hacksc.y }; in polymost_drawpoly()