mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
i965: Move unmap_gtt before map_gtt
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>
This commit is contained in:
parent
8d3529872c
commit
359624142d
1 changed files with 6 additions and 6 deletions
|
|
@ -3065,6 +3065,12 @@ intel_miptree_unmap_raw(struct intel_mipmap_tree *mt)
|
|||
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,
|
||||
|
|
@ -3112,12 +3118,6 @@ intel_miptree_map_gtt(struct brw_context *brw,
|
|||
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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue