From 9377b189f75e1cc440b7e2ef955cb1700c486887 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 29 Jun 2014 15:14:35 -0700 Subject: [PATCH] i965: Drop imm union from visitor register classes. Reviewed-by: Topi Pohjolainen --- 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 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 -- 2.30.2