commit | 08cd6e97376bd2040b9c7978d593347e7209ec02 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@lunarg.com> | Wed Feb 11 13:44:50 2015 -0700 |
committer | Chia-I Wu <olv@lunarg.com> | Thu Feb 12 13:24:03 2015 -0700 |
tree | b3f8683b462c369fe7070794b520c76014289b24 | |
parent | 004059128b2581c8751470dc0ef8ac53edf548a6 [diff] [blame] |
intel: fix -Wunused-(but-set-)variable warnings
diff --git a/icd/intel/cmd_pipeline.c b/icd/intel/cmd_pipeline.c index fd70805..42ac706 100644 --- a/icd/intel/cmd_pipeline.c +++ b/icd/intel/cmd_pipeline.c
@@ -3055,7 +3055,7 @@ uint32_t vertex_base) { const struct intel_pipeline *p = cmd->bind.pipeline.graphics; - const uint32_t surface_writer_used = + const uint32_t surface_writer_used U_ASSERT_ONLY = cmd->writers[INTEL_CMD_WRITER_SURFACE].used; cmd_adjust_state_base_address(cmd);