summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-02-19 17:12:57 -0800
committerMatt Turner <[email protected]>2014-02-21 22:51:33 -0800
commit109c211ffd746cff3434dd9c9ea412a28ae0190a (patch)
treea0fecf76b50df07d2233f416b0b796987cedd962 /src/mesa/drivers/dri/i965
parent0fc1a77e14ab0ac0dcca63c065af80a07ccd16b0 (diff)
i965/fs: Reduce the sizes of some fs_inst members.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index c91a77727d5..3c47683161d 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -208,19 +208,19 @@ public:
fs_reg dst;
fs_reg src[3];
bool saturate;
- int conditional_mod; /**< BRW_CONDITIONAL_* */
+ uint8_t conditional_mod; /**< BRW_CONDITIONAL_* */
/* Chooses which flag subregister (f0.0 or f0.1) is used for conditional
* mod and predication.
*/
uint8_t flag_subreg;
- int mlen; /**< SEND message length */
- int regs_written; /**< Number of vgrfs written by a SEND message, or 1 */
- int base_mrf; /**< First MRF in the SEND message, if mlen is nonzero. */
+ uint8_t mlen; /**< SEND message length */
+ uint8_t regs_written; /**< Number of vgrfs written by a SEND message, or 1 */
+ int8_t base_mrf; /**< First MRF in the SEND message, if mlen is nonzero. */
uint32_t texture_offset; /**< Texture offset bitfield */
- int sampler;
- int target; /**< MRT target. */
+ uint8_t sampler;
+ uint8_t target; /**< MRT target. */
bool eot;
bool header_present;
bool shadow_compare;