i965/fs: Reduce the sizes of some fs_reg members.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Matt Turner 2014-02-19 17:45:56 -08:00
parent 98e2654880
commit 3f6baf5755
1 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ public:
* Register number. For MRF, it's the hardware register. For * Register number. For MRF, it's the hardware register. For
* GRF, it's a virtual register number until register allocation * GRF, it's a virtual register number until register allocation
*/ */
int reg; uint16_t reg;
/** /**
* Offset from the start of the contiguous register block. * Offset from the start of the contiguous register block.
* *
@ -102,7 +102,7 @@ public:
*/ */
int reg_offset; int reg_offset;
/** Register type. BRW_REGISTER_TYPE_* */ /** Register type. BRW_REGISTER_TYPE_* */
int type; uint8_t type;
bool negate; bool negate;
bool abs; bool abs;
struct brw_reg fixed_hw_reg; struct brw_reg fixed_hw_reg;
@ -124,7 +124,7 @@ public:
int subreg_offset; int subreg_offset;
/** Register region horizontal stride */ /** Register region horizontal stride */
int stride; uint8_t stride;
fs_reg *reladdr; fs_reg *reladdr;
}; };