Lines Matching defs:layer
1418 * @sub_resource: Surface subresource. Defined as layer * num_mip_levels +
1430 * svga3dsurface_subres - Compute the subresource from layer and mipmap.
1433 * @layer: The surface layer (face or array slice).
1438 u32 mip_level, u32 layer)
1440 return cache->num_mip_levels * layer + mip_level;
1514 u32 layer;
1520 layer = offset / cache->mip_chain_bytes;
1521 offset -= layer * cache->mip_chain_bytes;
1528 loc->sub_resource = svga3dsurface_subres(cache, i, layer);