From: Matt Turner Date: Sun, 29 Jun 2014 22:14:35 +0000 (-0700) Subject: i965: Drop imm union from visitor register classes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9377b189f75e1cc440b7e2ef955cb1700c486887;p=mesa.git i965: Drop imm union from visitor register classes. Reviewed-by: Topi Pohjolainen --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index 961c56cdab8..c32b0a6350d 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 6ac35d70e8f..9a5b1cbe79e 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