diff options
author | Chris Wilson <[email protected]> | 2018-04-30 10:25:40 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2018-04-30 14:06:23 -0700 |
commit | 359624142dc914b35a56c167d32bed2a5d17cb2f (patch) | |
tree | 4dcbf1a49e1d5a49c187d4a986f12df0ddff8785 /src/mesa | |
parent | 8d3529872c940c263fb879e1cd358965dcce3a90 (diff) |
i965: Move unmap_gtt before map_gtt
Reorder code to avoid a forward declaration in the next patch.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c index 93a91fd8081..ccd5b4bf023 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c @@ -3066,6 +3066,12 @@ intel_miptree_unmap_raw(struct intel_mipmap_tree *mt) } 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, struct intel_miptree_map *map, @@ -3113,12 +3119,6 @@ intel_miptree_map_gtt(struct brw_context *brw, } 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, struct intel_miptree_map *map, |