i965: Drop imm union from visitor register classes.
authorMatt Turner <mattst88@gmail.com>
Sun, 29 Jun 2014 22:14:35 +0000 (15:14 -0700)
committerMatt Turner <mattst88@gmail.com>
Sun, 6 Jul 2014 05:42:29 +0000 (22:42 -0700)
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_vec4.h

index 961c56cdab886ce2755bfddb50f104a546bfd887..c32b0a6350d20972d36fee695ec2d9ba37e17dce 100644 (file)
@@ -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;
index 6ac35d70e8f3f9687258ccaf216bbeeced957c4a..9a5b1cbe79ea80266a03853070e104b80ffd0daa 100644 (file)
@@ -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