Module: Mesa Branch: master Commit: 109c211ffd746cff3434dd9c9ea412a28ae0190a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=109c211ffd746cff3434dd9c9ea412a28ae0190a
Author: Matt Turner <matts...@gmail.com> Date: Wed Feb 19 17:12:57 2014 -0800 i965/fs: Reduce the sizes of some fs_inst members. Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> --- src/mesa/drivers/dri/i965/brw_fs.h | 12 ++++++------ 1 file 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 c91a777..3c47683 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; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit