[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesa3d-dev
Subject:    [Mesa-dev] [PATCH 02/13] i965: Drop imm union from visitor register classes.
From:       Matt Turner <mattst88 () gmail ! com>
Date:       2014-06-30 21:40:33
Message-ID: 1404164444-3876-2-git-send-email-mattst88 () gmail ! com
[Download RAW message or body]

---
 src/mesa/drivers/dri/i965/brw_fs.h   | 7 -------
 src/mesa/drivers/dri/i965/brw_vec4.h | 7 -------
 2 files changed, 14 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index 961c56c..c32b0a6 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -113,13 +113,6 @@ public:
     */
    int subreg_offset;
 
-   /** Value for file == IMM */
-   union {
-      int32_t i;
-      uint32_t u;
-      float f;
-   } imm;
-
    struct brw_reg fixed_hw_reg;
 
    fs_reg *reladdr;
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h
index 6ac35d7..9a5b1cb 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.h
+++ b/src/mesa/drivers/dri/i965/brw_vec4.h
@@ -103,13 +103,6 @@ public:
    /** Register type.  BRW_REGISTER_TYPE_* */
    int type;
    struct brw_reg fixed_hw_reg;
-
-   /** Value for file == BRW_IMMMEDIATE_FILE */
-   union {
-      int32_t i;
-      uint32_t u;
-      float f;
-   } imm;
 };
 
 class src_reg : public reg
-- 
1.8.3.2

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic