Reorder code to avoid a forward declaration in the next patch.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
brw_bo_unmap(mt->bo);
}
+static void
+intel_miptree_unmap_gtt(struct intel_mipmap_tree *mt)
+{
+ intel_miptree_unmap_raw(mt);
+}
+
static void
intel_miptree_map_gtt(struct brw_context *brw,
struct intel_mipmap_tree *mt,
x, y, map->ptr, map->stride);
}
-static void
-intel_miptree_unmap_gtt(struct intel_mipmap_tree *mt)
-{
- intel_miptree_unmap_raw(mt);
-}
-
static void
intel_miptree_map_blit(struct brw_context *brw,
struct intel_mipmap_tree *mt,