Searched refs:mip_level (Results 1 – 1 of 1) sorted by relevance
1186 svga3dsurface_get_mip_size(surf_size_struct base_level, u32 mip_level) in svga3dsurface_get_mip_size() argument1190 size.width = max_t(u32, base_level.width >> mip_level, 1); in svga3dsurface_get_mip_size()1191 size.height = max_t(u32, base_level.height >> mip_level, 1); in svga3dsurface_get_mip_size()1192 size.depth = max_t(u32, base_level.depth >> mip_level, 1); in svga3dsurface_get_mip_size()1492 u32 mip_level, u32 layer) in svga3dsurface_subres() argument1494 return cache->num_mip_levels * layer + mip_level; in svga3dsurface_subres()