Searched refs:gheight (Results 1 – 1 of 1) sorted by relevance
948 int gwidth, gheight, gdepth; in zink_bo_commit() local950 gheight = res->sparse.formatProperties.imageGranularity.height; in zink_bo_commit()952 assert(gwidth && gheight && gdepth); in zink_bo_commit()957 unsigned nheight = DIV_ROUND_UP(box->height, gheight); in zink_bo_commit()961 (box->height % gheight) ? box->height % gheight : gheight, in zink_bo_commit()973 unsigned mipheight = DIV_ROUND_UP(MAX2(res->base.b.height0 >> l, 1), gheight); in zink_bo_commit()984 ibind[i].offset.y = h * gheight; in zink_bo_commit()993 ibind[i].extent.height = (h == nheight - 1) ? lastBlockExtent.height : gheight; in zink_bo_commit()996 …X2(res->base.b.width0 >> level, 1) / gwidth) * (MAX2(res->base.b.height0 >> level, 1) / gheight)) + in zink_bo_commit()997 … (h + (box->y / gheight)) * (MAX2(res->base.b.width0 >> level, 1) / gwidth) + in zink_bo_commit()