summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2015-08-06 10:59:15 -0700
committerMatt Turner <mattst88@gmail.com>2015-08-06 12:33:26 -0700
commit9f78e27fc60b3473b708ab4ca04e4ebd6be6cf4e (patch)
tree0d88aa57df43a199e954da696e577ab4a8aa87d9 /src/mesa/drivers/dri/i965/intel_mipmap_tree.h
parent1c175fc2e3a685b531920dec247086463ab9a154 (diff)
downloadexternal_mesa3d-9f78e27fc60b3473b708ab4ca04e4ebd6be6cf4e.zip
external_mesa3d-9f78e27fc60b3473b708ab4ca04e4ebd6be6cf4e.tar.gz
external_mesa3d-9f78e27fc60b3473b708ab4ca04e4ebd6be6cf4e.tar.bz2
i965: Rename MIPTREE_LAYOUT_ALLOC_* -> MIPTREE_LAYOUT_TILING_*.
Ben suggested that I rename MIPTREE_LAYOUT_ALLOC_ANY_TILED since it needed to include no tiling at all, but the name MIPTREE_LAYOUT_ALLOC_ANY is pretty nondescriptive. We can avoid confusion by replacing "ALLOC" with "TILING" in the identifiers. Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_mipmap_tree.h')
-rw-r--r--src/mesa/drivers/dri/i965/intel_mipmap_tree.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
index 506c258..790d312 100644
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
@@ -536,10 +536,10 @@ enum {
MIPTREE_LAYOUT_DISABLE_AUX = 1 << 3,
MIPTREE_LAYOUT_FORCE_HALIGN16 = 1 << 4,
- MIPTREE_LAYOUT_ALLOC_YTILED = 1 << 5,
- MIPTREE_LAYOUT_ALLOC_LINEAR = 1 << 6,
- MIPTREE_LAYOUT_ALLOC_ANY_TILED = MIPTREE_LAYOUT_ALLOC_YTILED |
- MIPTREE_LAYOUT_ALLOC_LINEAR,
+ MIPTREE_LAYOUT_TILING_Y = 1 << 5,
+ MIPTREE_LAYOUT_TILING_NONE = 1 << 6,
+ MIPTREE_LAYOUT_TILING_ANY = MIPTREE_LAYOUT_TILING_Y |
+ MIPTREE_LAYOUT_TILING_NONE,
};
struct intel_mipmap_tree *intel_miptree_create(struct brw_context *brw,