diff options
author | Matt Turner <[email protected]> | 2014-02-19 17:45:56 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-02-21 22:51:32 -0800 |
commit | 3f6baf575559d1034748b18bb7c1871b5796694d (patch) | |
tree | edf0dd48e7d889c1721892342a437454fefe6ffd /src/mesa | |
parent | 98e2654880ef57617e82b6a75578d2ac5f2d6c6c (diff) |
i965/fs: Reduce the sizes of some fs_reg members.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index b1e38b6cc51..1981eefb4fa 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -92,7 +92,7 @@ public: * Register number. For MRF, it's the hardware register. For * GRF, it's a virtual register number until register allocation */ - int reg; + uint16_t reg; /** * Offset from the start of the contiguous register block. * @@ -102,7 +102,7 @@ public: */ int reg_offset; /** Register type. BRW_REGISTER_TYPE_* */ - int type; + uint8_t type; bool negate; bool abs; struct brw_reg fixed_hw_reg; @@ -124,7 +124,7 @@ public: int subreg_offset; /** Register region horizontal stride */ - int stride; + uint8_t stride; fs_reg *reladdr; }; |