summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_tex.c
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_tex.c
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_tex.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_tex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex.c b/src/mesa/drivers/dri/i965/intel_tex.c
index 8fa5e3c..e16b0de 100644
--- a/src/mesa/drivers/dri/i965/intel_tex.c
+++ b/src/mesa/drivers/dri/i965/intel_tex.c
@@ -145,7 +145,7 @@ intel_alloc_texture_storage(struct gl_context *ctx,
0, levels - 1,
width, height, depth,
num_samples,
- MIPTREE_LAYOUT_ALLOC_ANY_TILED);
+ MIPTREE_LAYOUT_TILING_ANY);
if (intel_texobj->mt == NULL) {
return false;