Mesa (master): i965/vs: Remove dead fields of src_reg.

Eric Anholt anholt at kemper.freedesktop.org
Tue Sep 20 19:07:55 UTC 2011


Module: Mesa
Branch: master
Commit: 63bc443f8a026a2035ffd3122c8462c6fa36d20b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63bc443f8a026a2035ffd3122c8462c6fa36d20b

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Sep  6 11:56:53 2011 -0700

i965/vs: Remove dead fields of src_reg.

These were copy and pasted from the FS, and are never used.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_vec4.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h
index 058615f..317c981 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.h
+++ b/src/mesa/drivers/dri/i965/brw_vec4.h
@@ -83,9 +83,7 @@ public:
    int reg_offset;
    /** Register type.  BRW_REGISTER_TYPE_* */
    int type;
-   bool sechalf;
    struct brw_reg fixed_hw_reg;
-   int smear; /* -1, or a channel of the reg to smear to all channels. */
 
    /** Value for file == BRW_IMMMEDIATE_FILE */
    union {




More information about the mesa-commit mailing list