[Mesa-dev] [PATCH 02/13] i965: Drop imm union from visitor register classes.
Matt Turner
mattst88 at gmail.com
Mon Jun 30 14:40:33 PDT 2014
---
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
More information about the mesa-dev
mailing list