diff options
author | Matt Turner <[email protected]> | 2014-02-19 17:22:55 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-02-21 22:51:33 -0800 |
commit | d91035a8f6b6185a8966c48f76e8bc100adb7774 (patch) | |
tree | 739df8603bb7377668e6c2565a18f65dc998b42c | |
parent | 109c211ffd746cff3434dd9c9ea412a28ae0190a (diff) |
i965/fs: Reorder fs_inst's fields for better packing.
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index 3c47683161d..6fcdb1281b9 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -207,6 +207,17 @@ public: fs_reg dst; fs_reg src[3]; + + /** @{ + * Annotation for the generated IR. One of the two can be set. + */ + const void *ir; + const char *annotation; + /** @} */ + + uint32_t texture_offset; /**< Texture offset bitfield */ + uint32_t offset; /* spill/unspill offset */ + bool saturate; uint8_t conditional_mod; /**< BRW_CONDITIONAL_* */ @@ -218,7 +229,6 @@ public: 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 */ uint8_t sampler; uint8_t target; /**< MRT target. */ bool eot; @@ -227,14 +237,6 @@ public: bool force_uncompressed; bool force_sechalf; bool force_writemask_all; - uint32_t offset; /* spill/unspill offset */ - - /** @{ - * Annotation for the generated IR. One of the two can be set. - */ - const void *ir; - const char *annotation; - /** @} */ }; /** |