summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2016-05-16 11:08:55 -0700
committerMatt Turner <mattst88@gmail.com>2016-05-16 11:08:55 -0700
commitbf91034d44a992b1e5a5aa49a3d3a6740be5b453 (patch)
treef4724eb029ec91e9e2920dc056c42e1a201e3757 /src/mesa/drivers
parent1385018a72ece9f431fba565508ada400b469201 (diff)
downloadexternal_mesa3d-bf91034d44a992b1e5a5aa49a3d3a6740be5b453.zip
external_mesa3d-bf91034d44a992b1e5a5aa49a3d3a6740be5b453.tar.gz
external_mesa3d-bf91034d44a992b1e5a5aa49a3d3a6740be5b453.tar.bz2
i965: Mark is_lossless_compressed_aux UNUSED to silence warning.
Used only in assert().
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/intel_mipmap_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
index cc7ecf8..a097577 100644
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
@@ -583,7 +583,7 @@ intel_miptree_create_layout(struct brw_context *brw,
} else if (brw->gen >= 9 && num_samples > 1) {
layout_flags |= MIPTREE_LAYOUT_FORCE_HALIGN16;
} else {
- const bool is_lossless_compressed_aux =
+ const UNUSED bool is_lossless_compressed_aux =
brw->gen >= 9 && num_samples == 1 &&
mt->format == MESA_FORMAT_R_UINT32;