projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1385018
)
i965: Mark is_lossless_compressed_aux UNUSED to silence warning.
author
Matt Turner
<mattst88@gmail.com>
Mon, 16 May 2016 18:08:55 +0000
(11:08 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Mon, 16 May 2016 18:08:55 +0000
(11:08 -0700)
Used only in assert().
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
index cc7ecf8eb0eb514319e59f5a6c9b596cca3f30e4..a09757708cf581a5e0f3598789f0ed1eab67d5e5 100644
(file)
--- 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;