Mesa (master): i965: Repack backend_instruction struct.

Matt Turner mattst88 at kemper.freedesktop.org
Sun Jul 6 05:51:54 UTC 2014


Module: Mesa
Branch: master
Commit: 857c06236cf8086566f05e627856dcf8421e2292
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=857c06236cf8086566f05e627856dcf8421e2292

Author: Matt Turner <mattst88 at gmail.com>
Date:   Sun Jun 29 18:02:49 2014 -0700

i965: Repack backend_instruction struct.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

---

 src/mesa/drivers/dri/i965/brw_shader.h |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index 3205b67..558d052 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.h
+++ b/src/mesa/drivers/dri/i965/brw_shader.h
@@ -99,12 +99,6 @@ public:
     */
    bool has_side_effects() const;
 
-   enum opcode opcode; /* BRW_OPCODE_* or FS_OPCODE_* */
-
-   enum brw_predicate predicate;
-   bool predicate_inverse;
-   bool writes_accumulator; /**< instruction implicitly writes accumulator */
-
    /** @{
     * Annotation for the generated IR.  One of the two can be set.
     */
@@ -118,8 +112,12 @@ public:
    uint8_t mlen; /**< SEND message length */
    int8_t base_mrf; /**< First MRF in the SEND message, if mlen is nonzero. */
    uint8_t target; /**< MRT target. */
-   enum brw_conditional_mod conditional_mod; /**< BRW_CONDITIONAL_* */
 
+   enum opcode opcode; /* BRW_OPCODE_* or FS_OPCODE_* */
+   enum brw_conditional_mod conditional_mod; /**< BRW_CONDITIONAL_* */
+   enum brw_predicate predicate;
+   bool predicate_inverse:1;
+   bool writes_accumulator:1; /**< instruction implicitly writes accumulator */
    bool force_writemask_all:1;
    bool no_dd_clear:1;
    bool no_dd_check:1;




More information about the mesa-commit mailing list