Searched refs:bytesPerSlice (Results 1 – 2 of 2) sorted by relevance
91 GLuint bytesPerSlice; in _swrast_alloc_texture_image_buffer() local98 bytesPerSlice = _mesa_format_image_size(texImage->TexFormat, texImage->Width, in _swrast_alloc_texture_image_buffer()102 swImg->Buffer = _mesa_align_malloc(bytesPerSlice * slices, 512); in _swrast_alloc_texture_image_buffer()111 swImg->ImageSlices[i] = swImg->Buffer + bytesPerSlice * i; in _swrast_alloc_texture_image_buffer()
475 UINT_64 bytesPerSlice; in ComputeSurfaceInfoMacroTiled() local636 bytesPerSlice = BITS_TO_BYTES(static_cast<UINT_64>(paddedPitch) * in ComputeSurfaceInfoMacroTiled()639 pOut->surfSize = bytesPerSlice * expNumSlices; in ComputeSurfaceInfoMacroTiled()1093 UINT_64 bytesPerSlice; in ComputeSurfaceMipLevelTileMode() local1094 (void)bytesPerSlice; in ComputeSurfaceMipLevelTileMode()1104 bytesPerSlice = BITS_TO_BYTES(static_cast<UINT_64>(pitch) * height * bpp * numSamples); in ComputeSurfaceMipLevelTileMode()