Home
last modified time | relevance | path

Searched refs:swapSize (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dimage.c870 GLint swapSize = _mesa_sizeof_packed_type(type); in _mesa_swap_bytes_2d_image() local
874 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()
Dtexstore.c725 GLint swapSize = _mesa_sizeof_packed_type(srcType); in texstore_rgba() local
726 if (swapSize == 2 || swapSize == 4) { in texstore_rgba()