[Mesa-dev] [PATCH 02/10] i965/vs: Remove dead fields of src_reg.

Eric Anholt eric at anholt.net
Thu Sep 8 23:32:19 PDT 2011


These were copy and pasted from the FS, and are never used.
---
 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 3f116ee..0f85cdb 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 {
-- 
1.7.5.4



More information about the mesa-dev mailing list