Mesa (master): i965: Warning fix
Kenneth Graunke
kwg at kemper.freedesktop.org
Mon Jan 6 18:51:24 UTC 2014
Module: Mesa
Branch: master
Commit: 7db56ddee07fb365832881e05205d98f281cea80
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7db56ddee07fb365832881e05205d98f281cea80
Author: Eric Anholt <eric at anholt.net>
Date: Mon Dec 23 16:08:53 2013 -0800
i965: Warning fix
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index c653828..c2ca10d 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -108,8 +108,6 @@ unsigned
brw_reg_type_to_hw_type(const struct brw_context *brw,
enum brw_reg_type type, unsigned file)
{
- bool imm = file == BRW_IMMEDIATE_VALUE;
-
if (file == BRW_IMMEDIATE_VALUE) {
const static int imm_hw_types[] = {
[BRW_REGISTER_TYPE_UD] = BRW_HW_REG_TYPE_UD,
More information about the mesa-commit
mailing list