Searched refs:swapSize (Results 1 – 2 of 2) sorted by relevance
870 GLint swapSize = _mesa_sizeof_packed_type(type); in _mesa_swap_bytes_2d_image() local874 if (swapSize == 2 || swapSize == 4) { in _mesa_swap_bytes_2d_image()875 int swapsPerPixel = _mesa_bytes_per_pixel(format, type) / swapSize; in _mesa_swap_bytes_2d_image()881 assert(_mesa_bytes_per_pixel(format, type) % swapSize == 0); in _mesa_swap_bytes_2d_image()885 if (swapSize == 2) in _mesa_swap_bytes_2d_image()887 else if (swapSize == 4) in _mesa_swap_bytes_2d_image()
725 GLint swapSize = _mesa_sizeof_packed_type(srcType); in texstore_rgba() local726 if (swapSize == 2 || swapSize == 4) { in texstore_rgba()