Lines Matching refs:astc
213 unsigned int zi = astc::min(zpos + z, zsize - 1);
218 unsigned int yi = astc::min(ypos + y, ysize - 1);
222 unsigned int xi = astc::min(xpos + x, xsize - 1);
297 unsigned int yi = astc::min(y, ysize - 1);
301 unsigned int xi = astc::min(x, xsize - 1);
346 unsigned int x_end = astc::min(x_size, xpos + bsd.xdim);
352 unsigned int y_end = astc::min(y_size, ypos + bsd.ydim);
358 unsigned int z_end = astc::min(z_size, zpos + bsd.zdim);
383 unsigned int used_texels = astc::min(x_count - x, max_texels);
481 data[ASTCENC_SWZ_Z] = (astc::sqrt(zN) * 0.5f) + 0.5f;
543 data[ASTCENC_SWZ_Z] = (astc::sqrt(zN) * 0.5f) + 0.5f;